10 #define __NEED_fsblkcnt_t
11 #define __NEED_fsfilcnt_t
12 #include <bits/alltypes.h>
17 unsigned long f_bsize, f_frsize;
18 fsblkcnt_t f_blocks, f_bfree, f_bavail;
19 fsfilcnt_t f_files, f_ffree, f_favail;
20 #if __BYTE_ORDER == __LITTLE_ENDIAN
22 unsigned :8*(2*sizeof(int)-sizeof(long));
24 unsigned :8*(2*sizeof(int)-sizeof(long));
27 unsigned long f_flag, f_namemax;
31 int statvfs (const char *__restrict, struct statvfs *__restrict);
32 int fstatvfs (int, struct statvfs *);
38 #define ST_SYNCHRONOUS 16
39 #define ST_MANDLOCK 64
42 #define ST_IMMUTABLE 512
43 #define ST_NOATIME 1024
44 #define ST_NODIRATIME 2048
45 #define ST_RELATIME 4096
47 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
48 #define statvfs64 statvfs
49 #define fstatvfs64 fstatvfs
50 #define fsblkcnt64_t fsblkcnt_t
51 #define fsfilcnt64_t fsfilcnt_t