stat.h 489 B

1234567891011121314151617181920212223
  1. /* copied from kernel definition, but with padding replaced
  2. * by the corresponding correctly-sized userspace types. */
  3. struct stat
  4. {
  5. dev_t st_dev;
  6. long __st_padding1[2];
  7. ino_t st_ino;
  8. mode_t st_mode;
  9. nlink_t st_nlink;
  10. uid_t st_uid;
  11. gid_t st_gid;
  12. dev_t st_rdev;
  13. long __st_padding2[2];
  14. off_t st_size;
  15. struct timespec st_atim;
  16. struct timespec st_mtim;
  17. struct timespec st_ctim;
  18. blksize_t st_blksize;
  19. long __st_padding3;
  20. blkcnt_t st_blocks;
  21. long __st_padding4[14];
  22. };