stat.h 508 B

12345678910111213141516171819202122232425
  1. /* copied from kernel definition, but with padding replaced
  2. * by the corresponding correctly-sized userspace types. */
  3. struct stat {
  4. unsigned long st_dev;
  5. ino_t st_ino;
  6. nlink_t st_nlink;
  7. mode_t st_mode;
  8. uid_t st_uid;
  9. gid_t st_gid;
  10. unsigned int __pad0;
  11. dev_t st_rdev;
  12. off_t st_size;
  13. blksize_t st_blksize;
  14. blkcnt_t st_blocks;
  15. time_t st_atime;
  16. unsigned long st_atime_nsec;
  17. time_t st_mtime;
  18. unsigned long st_mtime_nsec;
  19. time_t st_ctime;
  20. unsigned long st_ctime_nsec;
  21. long __unused[3];
  22. };