1
0

statfs.h 484 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef _SYS_STATFS_H
  2. #define _SYS_STATFS_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #include <features.h>
  7. #include <sys/statvfs.h>
  8. typedef struct __fsid_t {
  9. int __val[2];
  10. } fsid_t;
  11. #include <bits/statfs.h>
  12. int statfs (const char *, struct statfs *);
  13. int fstatfs (int, struct statfs *);
  14. #if defined(_LARGEFILE64_SOURCE)
  15. #define statfs64 statfs
  16. #define fstatfs64 fstatfs
  17. #define fsblkcnt64_t fsblkcnt_t
  18. #define fsfilcnt64_t fsfilcnt_t
  19. #endif
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23. #endif