kernel_stat.h 1004 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef _BITS_STAT_STRUCT_H
  2. #define _BITS_STAT_STRUCT_H
  3. /* This file provides whatever this particular arch's kernel thinks
  4. * struct kernel_stat should look like... It turns out each arch has a
  5. * different opinion on the subject... */
  6. struct kernel_stat {
  7. unsigned int st_dev;
  8. unsigned int st_ino;
  9. unsigned int st_mode;
  10. unsigned int st_nlink;
  11. unsigned int st_uid;
  12. unsigned int st_gid;
  13. unsigned int st_rdev;
  14. long st_size;
  15. unsigned long st_atime;
  16. unsigned long st_mtime;
  17. unsigned long st_ctime;
  18. unsigned int st_blksize;
  19. int st_blocks;
  20. unsigned int st_flags;
  21. unsigned int st_gen;
  22. };
  23. struct kernel_stat64 {
  24. unsigned int st_dev;
  25. unsigned int st_ino;
  26. unsigned int st_mode;
  27. unsigned int st_nlink;
  28. unsigned int st_uid;
  29. unsigned int st_gid;
  30. unsigned int st_rdev;
  31. long st_size;
  32. unsigned long st_atime;
  33. unsigned long st_mtime;
  34. unsigned long st_ctime;
  35. unsigned int st_blksize;
  36. int st_blocks;
  37. unsigned int st_flags;
  38. unsigned int st_gen;
  39. };
  40. #endif /* _BITS_STAT_STRUCT_H */