1#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
2type {struct statvfs}
3
4element {struct statvfs} {unsigned long} f_bsize
5element {struct statvfs} {unsigned long} f_frsize
6element {struct statvfs} fsblkcnt_t f_blocks
7element {struct statvfs} fsblkcnt_t f_bfree
8element {struct statvfs} fsblkcnt_t f_bavail
9element {struct statvfs} fsfilcnt_t f_files
10element {struct statvfs} fsfilcnt_t f_ffree
11element {struct statvfs} fsfilcnt_t f_favail
12// Bug 23086: f_fsid has type unsigned long long instead of unsigned long
13xfail[i386-gnu]-element {struct statvfs} {unsigned long} f_fsid
14element {struct statvfs} {unsigned long} f_flag
15element {struct statvfs} {unsigned long} f_namemax
16
17type fsblkcnt_t
18type fsfilcnt_t
19
20constant ST_RDONLY
21constant ST_NOSUID
22
23function int statvfs (const char*, struct statvfs*)
24function int fstatvfs (int, struct statvfs*)
25
26allow f_*
27allow ST_*
28allow *_t
29#endif
30