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