mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-28 16:14:20 +08:00
[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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user