1 #ifndef _BITS_STAT_STRUCT_H
2 #define _BITS_STAT_STRUCT_H
5 * This file provides struct stat, taken from kernel 2.6.4. Verified
6 * to match kernel 2.6.22.
12 unsigned short st_mode;
13 unsigned short st_nlink;
14 unsigned short st_uid;
15 unsigned short st_gid;
16 unsigned long st_rdev;
17 unsigned long st_size;
18 unsigned long st_blksize;
19 unsigned long st_blocks;
20 struct timespec st_atim;
21 struct timespec st_mtim;
22 struct timespec st_ctim;
23 unsigned long __unused4;
24 unsigned long __unused5;
27 struct kernel_stat64 {
28 unsigned long long st_dev;
30 unsigned long long st_ino;
32 unsigned int st_nlink;
37 unsigned long long st_rdev;
41 unsigned long st_blksize;
43 unsigned long long st_blocks;
45 struct timespec st_atim;
46 struct timespec st_mtim;
47 struct timespec st_ctim;
49 unsigned long __unused1;
50 unsigned long __unused2;
53 #endif /* _BITS_STAT_STRUCT_H */