From d79091ce4ed3b1003e89050965326cfb7d46def8 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Tue, 26 Feb 2019 16:37:10 +0100 Subject: [PATCH] Clarify our data type choices in "struct stat". * include/sys/stat.h: Clarify our data type choices in "struct stat". --- include/sys/stat.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/sys/stat.h b/include/sys/stat.h index d078435b..23e10775 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -45,14 +45,14 @@ struct stat unsigned short st_uid; unsigned short st_gid; 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_blocks; - time_t st_atime; + time_t st_atime; /* Linux: unsigned long; glibc: time_t */ unsigned long st_atime_usec; - time_t st_mtime; + time_t st_mtime; /* Linux: unsigned long; glibc: time_t */ 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 __foo0; unsigned long __foo1;