kernel_stat.h 812 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Ripped from linux/include/asm-ia64/stat.h
  2. * and renamed 'struct stat' to 'struct kernel_stat' */
  3. #ifndef _ASM_IA64_STAT_H
  4. #define _ASM_IA64_STAT_H
  5. #ifndef _LIBC
  6. #error bits/kernel_stat.h is for internal uClibc use only!
  7. #endif
  8. /*
  9. * Modified 1998, 1999
  10. * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
  11. */
  12. struct kernel_stat {
  13. unsigned long st_dev;
  14. unsigned long st_ino;
  15. unsigned long st_nlink;
  16. unsigned int st_mode;
  17. unsigned int st_uid;
  18. unsigned int st_gid;
  19. unsigned int __pad0;
  20. unsigned long st_rdev;
  21. unsigned long st_size;
  22. struct timespec st_atim;
  23. struct timespec st_mtim;
  24. struct timespec st_ctim;
  25. unsigned long st_blksize;
  26. long st_blocks;
  27. unsigned long __unused[3];
  28. };
  29. /* ia64 stat64 is same as stat */
  30. #define kernel_stat64 kernel_stat
  31. #endif /* _ASM_IA64_STAT_H */