8 #define __NEED_fsblkcnt_t
9 #define __NEED_fsfilcnt_t
10 #include <bits/alltypes.h>
15 unsigned long f_bsize, f_frsize;
16 fsblkcnt_t f_blocks, f_bfree, f_bavail;
17 fsfilcnt_t f_files, f_ffree, f_favail;
18 #if __BYTE_ORDER == __LITTLE_ENDIAN
20 unsigned :8*(2*sizeof(int)-sizeof(long));
22 unsigned :8*(2*sizeof(int)-sizeof(long));
25 unsigned long f_flag, f_namemax;
29 int statvfs (const char *, struct statvfs *);
30 int fstatvfs (int, struct statvfs *);
36 #define ST_SYNCHRONOUS 16
37 #define ST_MANDLOCK 64
40 #define ST_IMMUTABLE 512
41 #define ST_NOATIME 1024
42 #define ST_NODIRATIME 2048
44 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
45 #define statvfs64 statvfs
46 #define fstatvfs64 fstatvfs
47 #define fsblkcnt64_t fsblkcnt_t
48 #define fsfilcnt64_t fsfilcnt_t