diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-02-09 06:44:53 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-02-09 06:44:53 +0000 |
commit | 59b10970c522f8cee255a08b4faf93c8e3addd57 (patch) | |
tree | eceb17b0d6e9a08bc90ade0f4b6f2f3a95c86e79 /libc/sysdeps/linux/mips/bits/stat.h | |
parent | 33fa6c8eb3e6aa58bf9d86469adc66046b469db4 (diff) |
Atsushi Nemoto writes: Add st_[amc]timensec to N32/N64 version of stat, add st_[amc]time_nsec to each kernel_stat, and define STAT_HAVE_NSEC to convert them
Diffstat (limited to 'libc/sysdeps/linux/mips/bits/stat.h')
-rw-r--r-- | libc/sysdeps/linux/mips/bits/stat.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libc/sysdeps/linux/mips/bits/stat.h b/libc/sysdeps/linux/mips/bits/stat.h index 5364499a3..e35d64928 100644 --- a/libc/sysdeps/linux/mips/bits/stat.h +++ b/libc/sysdeps/linux/mips/bits/stat.h @@ -98,11 +98,11 @@ struct stat { * st_ctime but we don't have it under Linux. */ int st_atime; - int reserved0; /* Reserved for st_atime expansion */ + int st_atimensec; int st_mtime; - int reserved1; /* Reserved for st_mtime expansion */ + int st_mtimensec; int st_ctime; - int reserved2; /* Reserved for st_ctime expansion */ + int st_ctimensec; int st_blksize; /* Optimal block size for I/O. */ int st_pad3; __blkcnt_t st_blocks; /* Number of 512-byte blocks allocated. */ @@ -129,11 +129,11 @@ struct stat64 * st_ctime but we don't have it under Linux. */ __time_t st_atime; /* Time of last access. */ - long int __reserved0; + unsigned long int st_atimensec; /* Nscecs of last access. */ __time_t st_mtime; /* Time of last modification. */ - long int __reserved1; + unsigned long int st_mtimensec; /* Nsecs of last modification. */ __time_t st_ctime; /* Time of last status change. */ - long int __reserved2; + unsigned long int st_ctimensec; /* Nsecs of last status change. */ __blksize_t st_blksize; /* Optimal block size for I/O. */ long int st_pad3; __blkcnt64_t st_blocks; /* Number of 512-byte blocks allocated. */ @@ -157,11 +157,11 @@ struct stat64 { * st_ctime but we don't have it under Linux. */ int st_atime; - int reserved0; /* Reserved for st_atime expansion */ + int st_atimensec; int st_mtime; - int reserved1; /* Reserved for st_mtime expansion */ + int st_mtimensec; int st_ctime; - int reserved2; /* Reserved for st_ctime expansion */ + int st_ctimensec; int st_blksize; /* Optimal block size for I/O. */ int st_pad3; __blkcnt_t st_blocks; /* Number of 512-byte blocks allocated. */ |