statvfs.h 531 B

123456789101112131415161718192021222324252627282930
  1. #ifndef _SYS_STATVFS_H
  2. #define _SYS_STATVFS_H
  3. #define __NEED_fsblkcnt_t
  4. #define __NEED_fsfilcnt_t
  5. #include <bits/alltypes.h>
  6. #include <bits/statfs.h>
  7. int statvfs (const char *, struct statvfs *);
  8. int fstatvfs (int, struct statvfs *);
  9. #define ST_RDONLY 1
  10. #define ST_NOSUID 2
  11. #if 0
  12. #define ST_NODEV 4
  13. #define ST_NOEXEC 8
  14. #define ST_SYNCHRONOUS 16
  15. #define ST_MANDLOCK 64
  16. #define ST_WRITE 128
  17. #define ST_APPEND 256
  18. #define ST_IMMUTABLE 512
  19. #define ST_NOATIME 1024
  20. #define ST_NODIRATIME 2048
  21. #endif
  22. #endif