[Libc] Update struct stat on libc_stat.h .

This commit is contained in:
armink 2018-03-20 17:51:12 +08:00
parent 991baa7a04
commit c6e928a780
1 changed files with 17 additions and 5 deletions

View File

@ -77,11 +77,23 @@
struct stat struct stat
{ {
struct rt_device* st_dev; struct rt_device *st_dev;
uint16_t st_mode; uint16_t st_ino;
uint32_t st_size; uint16_t st_mode;
time_t st_mtime; uint16_t st_nlink;
uint32_t st_blksize; uint16_t st_uid;
uint16_t st_gid;
struct rt_device *st_rdev;
uint32_t st_size;
time_t st_atime;
long st_spare1;
time_t st_mtime;
long st_spare2;
time_t st_ctime;
long st_spare3;
uint32_t st_blksize;
uint32_t st_blocks;
long st_spare4[2];
}; };
#endif #endif