Clarify our data type choices in "struct stat".

* include/sys/stat.h: Clarify our data type choices in "struct stat".
This commit is contained in:
Danny Milosavljevic 2019-02-26 16:37:10 +01:00 committed by Jan Nieuwenhuizen
parent b5523ad09e
commit d79091ce4e
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 4 additions and 4 deletions

View File

@ -45,14 +45,14 @@ struct stat
unsigned short st_uid; unsigned short st_uid;
unsigned short st_gid; unsigned short st_gid;
unsigned long st_rdev; unsigned long st_rdev;
long st_size; long st_size; /* Linux: unsigned long; glibc: off_t (i.e. signed) */
unsigned long st_blksize; unsigned long st_blksize;
unsigned long st_blocks; unsigned long st_blocks;
time_t st_atime; time_t st_atime; /* Linux: unsigned long; glibc: time_t */
unsigned long st_atime_usec; unsigned long st_atime_usec;
time_t st_mtime; time_t st_mtime; /* Linux: unsigned long; glibc: time_t */
unsigned long st_mtime_usec; unsigned long st_mtime_usec;
time_t st_ctime; time_t st_ctime; /* Linux: unsigned long; glibc: time_t */
unsigned long st_ctime_usec; unsigned long st_ctime_usec;
unsigned long __foo0; unsigned long __foo0;
unsigned long __foo1; unsigned long __foo1;