10 #define __NEED_fsblkcnt_t
11 #define __NEED_fsfilcnt_t
12 #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 *__restrict, struct statvfs *__restrict);
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
43 #define ST_RELATIME 4096
45 #if defined(_LARGEFILE64_SOURCE)
46 #define statvfs64 statvfs
47 #define fstatvfs64 fstatvfs
48 #define fsblkcnt64_t fsblkcnt_t
49 #define fsfilcnt64_t fsfilcnt_t