diff options
| author | armink <[email protected]> | 2018-03-20 17:51:12 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2018-03-20 17:51:12 +0800 |
| commit | c6e928a780cf28a03e963d62a1a731d7675cf134 (patch) | |
| tree | 666a428974e6ed3a7a4a4fb5d8e06c151ebc542d /include/libc | |
| parent | 991baa7a04644c355a7ccaf2d08b837a7657396c (diff) | |
[Libc] Update struct stat on libc_stat.h .
Diffstat (limited to 'include/libc')
| -rw-r--r-- | include/libc/libc_stat.h | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/include/libc/libc_stat.h b/include/libc/libc_stat.h index 69871dd101..26752393db 100644 --- a/include/libc/libc_stat.h +++ b/include/libc/libc_stat.h @@ -77,11 +77,23 @@ struct stat { - struct rt_device* st_dev; - uint16_t st_mode; - uint32_t st_size; - time_t st_mtime; - uint32_t st_blksize; + struct rt_device *st_dev; + uint16_t st_ino; + uint16_t st_mode; + uint16_t st_nlink; + 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 |
