diff options
| author | Meco Man <[email protected]> | 2021-04-25 21:10:31 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-04-25 21:10:31 +0800 |
| commit | f9ba41f4c22855b4dff8c422283ea6832ad1fc2b (patch) | |
| tree | ce17c5b2284081a1a21ba13a86a9aec8925666de /components/libc/compilers/common/sys/statfs.h | |
| parent | c871726e8930099efc1bbade8907e8b4571615eb (diff) | |
更改libc目录为common 以及 none-gcc
Diffstat (limited to 'components/libc/compilers/common/sys/statfs.h')
| -rw-r--r-- | components/libc/compilers/common/sys/statfs.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/components/libc/compilers/common/sys/statfs.h b/components/libc/compilers/common/sys/statfs.h new file mode 100644 index 0000000000..0996af9a18 --- /dev/null +++ b/components/libc/compilers/common/sys/statfs.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2006-2021, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: + * Date Author Notes + */ +#ifndef __RTT_STATFS_H__ +#define __RTT_STATFS_H__ + +#include <rtthread.h> + +struct statfs +{ + rt_size_t f_bsize; /* block size */ + rt_size_t f_blocks; /* total data blocks in file system */ + rt_size_t f_bfree; /* free blocks in file system */ +}; + +#endif |
