stat.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #ifndef _ASM_IA64_STAT_H
  2. #define _ASM_IA64_STAT_H
  3. /*
  4. * Modified 1998, 1999
  5. * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
  6. */
  7. struct stat {
  8. unsigned long st_dev;
  9. unsigned long st_ino;
  10. unsigned long st_nlink;
  11. unsigned int st_mode;
  12. unsigned int st_uid;
  13. unsigned int st_gid;
  14. unsigned int __pad0;
  15. unsigned long st_rdev;
  16. unsigned long st_size;
  17. unsigned long st_atime;
  18. unsigned long st_atime_nsec;
  19. unsigned long st_mtime;
  20. unsigned long st_mtime_nsec;
  21. unsigned long st_ctime;
  22. unsigned long st_ctime_nsec;
  23. unsigned long st_blksize;
  24. long st_blocks;
  25. unsigned long __unused[3];
  26. };
  27. #define STAT_HAVE_NSEC 1
  28. struct ia64_oldstat {
  29. unsigned int st_dev;
  30. unsigned int st_ino;
  31. unsigned int st_mode;
  32. unsigned int st_nlink;
  33. unsigned int st_uid;
  34. unsigned int st_gid;
  35. unsigned int st_rdev;
  36. unsigned int __pad1;
  37. unsigned long st_size;
  38. unsigned long st_atime;
  39. unsigned long st_mtime;
  40. unsigned long st_ctime;
  41. unsigned int st_blksize;
  42. int st_blocks;
  43. unsigned int __unused1;
  44. unsigned int __unused2;
  45. };
  46. #endif /* _ASM_IA64_STAT_H */