stat.h 876 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* $Id: stat.h,v 1.7 2000/08/04 05:35:55 davem Exp $ */
  2. #ifndef _SPARC64_STAT_H
  3. #define _SPARC64_STAT_H
  4. #include <linux/types.h>
  5. struct stat {
  6. unsigned st_dev;
  7. ino_t st_ino;
  8. mode_t st_mode;
  9. short st_nlink;
  10. uid_t st_uid;
  11. gid_t st_gid;
  12. unsigned st_rdev;
  13. off_t st_size;
  14. time_t st_atime;
  15. time_t st_mtime;
  16. time_t st_ctime;
  17. off_t st_blksize;
  18. off_t st_blocks;
  19. unsigned long __unused4[2];
  20. };
  21. struct stat64 {
  22. unsigned long st_dev;
  23. unsigned long st_ino;
  24. unsigned long st_nlink;
  25. unsigned int st_mode;
  26. unsigned int st_uid;
  27. unsigned int st_gid;
  28. unsigned int __pad0;
  29. unsigned long st_rdev;
  30. long st_size;
  31. long st_blksize;
  32. long st_blocks;
  33. unsigned long st_atime;
  34. unsigned long st_atime_nsec;
  35. unsigned long st_mtime;
  36. unsigned long st_mtime_nsec;
  37. unsigned long st_ctime;
  38. unsigned long st_ctime_nsec;
  39. long __unused[3];
  40. };
  41. #endif