kernel_stat.h 823 B

123456789101112131415161718192021222324252627
  1. #ifndef _BITS_STAT_STRUCT_H
  2. #define _BITS_STAT_STRUCT_H
  3. struct kernel_stat {
  4. unsigned long st_dev; /* Device. */
  5. unsigned long st_ino; /* File serial number. */
  6. unsigned int st_mode; /* File mode. */
  7. unsigned int st_nlink; /* Link count. */
  8. unsigned int st_uid; /* User ID of the file's owner. */
  9. unsigned int st_gid; /* Group ID of the file's group. */
  10. unsigned long st_rdev; /* Device number, if device. */
  11. unsigned long __pad1;
  12. long st_size; /* Size of file, in bytes. */
  13. int st_blksize; /* Optimal block size for I/O. */
  14. int __pad2;
  15. long st_blocks; /* Number 512-byte blocks allocated. */
  16. struct timespec st_atim;
  17. struct timespec st_mtim;
  18. struct timespec st_ctim;
  19. unsigned int __unused4;
  20. unsigned int __unused5;
  21. };
  22. #define kernel_stat64 kernel_stat
  23. #endif /* _BITS_STAT_STRUCT_H */