OrionLibC
Barry Using POSIX names for structs 11f4683 (2 years, 2 months ago)diff --git a/include/sys/stat.h b/include/sys/stat.h index b83cf2d..4be596e 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -43,12 +43,13 @@ /* Structure for a stat() call */ typedef struct stat { - ino_t inode; - mode_t mode; - nlink_t nlink; - uid_t uid; - gid_t gid; - size_t size; + dev_t st_dev; + ino_t st_ino; + mode_t st_mode; + nlink_t st_nlink; + uid_t st_uid; + gid_t st_gid; + size_t st_size; } Stat; #ifdef __cplusplus