[libc] Adjust libc.

1. Move struct stat to libc_stat.h;
2. Defined a new FD_SET macros in libc_fdset.h.
This commit is contained in:
bernard
2017-10-31 09:52:49 +08:00
parent 6469a748b3
commit 7d673f921c
5 changed files with 95 additions and 64 deletions
-9
View File
@@ -80,15 +80,6 @@
extern "C" {
#endif
struct stat
{
struct rt_device* st_dev;
uint16_t st_mode;
uint32_t st_size;
time_t st_mtime;
uint32_t st_blksize;
};
struct statfs
{
size_t f_bsize; /* block size */