1 #ifndef _KLIBC_ARCHSTAT_H
2 #define _KLIBC_ARCHSTAT_H
6 #define _STATBUF_ST_NSEC
8 /* This matches struct stat64 in glibc2.1, hence the absolutely
9 * insane amounts of padding around dev_t's.
12 unsigned long long st_dev;
13 unsigned char __pad0[4];
17 unsigned int st_nlink;
22 unsigned long long st_rdev;
23 unsigned char __pad3[4];
26 unsigned long st_blksize;
28 #if __BYTE_ORDER == __BIG_ENDIAN
29 unsigned long __pad4; /* Future possible st_blocks hi bits */
30 unsigned long st_blocks; /* Number 512-byte blocks allocated. */
31 #else /* Must be little */
32 unsigned long st_blocks; /* Number 512-byte blocks allocated. */
33 unsigned long __pad4; /* Future possible st_blocks hi bits */
36 struct timespec st_atim;
37 struct timespec st_mtim;
38 struct timespec st_ctim;
40 unsigned long __unused1;
41 unsigned long __unused2;