stat.h 1012 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef _ALPHA_STAT_H
  2. #define _ALPHA_STAT_H
  3. struct stat {
  4. unsigned int st_dev;
  5. unsigned int st_ino;
  6. unsigned int st_mode;
  7. unsigned int st_nlink;
  8. unsigned int st_uid;
  9. unsigned int st_gid;
  10. unsigned int st_rdev;
  11. long st_size;
  12. unsigned long st_atime;
  13. unsigned long st_mtime;
  14. unsigned long st_ctime;
  15. unsigned int st_blksize;
  16. unsigned int st_blocks;
  17. unsigned int st_flags;
  18. unsigned int st_gen;
  19. };
  20. /* The stat64 structure increases the size of dev_t, blkcnt_t, adds
  21. nanosecond resolution times, and padding for expansion. */
  22. struct stat64 {
  23. unsigned long st_dev;
  24. unsigned long st_ino;
  25. unsigned long st_rdev;
  26. long st_size;
  27. unsigned long st_blocks;
  28. unsigned int st_mode;
  29. unsigned int st_uid;
  30. unsigned int st_gid;
  31. unsigned int st_blksize;
  32. unsigned int st_nlink;
  33. unsigned int __pad0;
  34. unsigned long st_atime;
  35. unsigned long st_atime_nsec;
  36. unsigned long st_mtime;
  37. unsigned long st_mtime_nsec;
  38. unsigned long st_ctime;
  39. unsigned long st_ctime_nsec;
  40. long __unused[3];
  41. };
  42. #endif