123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #ifndef _BITS_STAT_STRUCT_H
- #define _BITS_STAT_STRUCT_H
- struct kernel_stat {
- unsigned int st_dev;
- ino_t st_ino;
- mode_t st_mode;
- nlink_t st_nlink;
- unsigned short st_reserved1;
- unsigned short st_reserved2;
- unsigned int st_rdev;
- off_t st_size;
- struct timespec st_atim;
- struct timespec st_mtim;
- struct timespec st_ctim;
- int st_blksize;
- int st_blocks;
- unsigned int __unused1;
- unsigned int __unused2;
- ino_t __unused3;
- unsigned int __unused4;
- unsigned short __unused5;
- short st_fstype;
- unsigned int st_realdev;
- unsigned short st_basemode;
- unsigned short st_spareshort;
- uid_t st_uid;
- gid_t st_gid;
- unsigned int st_spare4[3];
- };
- struct kernel_stat64 {
- unsigned long long st_dev;
- unsigned int __pad1;
- unsigned int __st_ino;
- unsigned int st_mode;
- unsigned int st_nlink;
- unsigned int st_uid;
- unsigned int st_gid;
- unsigned long long st_rdev;
- unsigned int __pad2;
- signed long long st_size;
- signed int st_blksize;
- signed long long st_blocks;
- struct timespec st_atim;
- struct timespec st_mtim;
- struct timespec st_ctim;
- unsigned long long st_ino;
- };
- #endif
|