summaryrefslogtreecommitdiff
path: root/conform/data/sys/statvfs.h-data
blob: 2a74813e3d4a17d9242f9a410cfbecf874a141d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
type {struct statvfs}

element {struct statvfs} {unsigned long} f_bsize
element {struct statvfs} {unsigned long} f_frsize
element {struct statvfs} fsblkcnt_t f_blocks
element {struct statvfs} fsblkcnt_t f_bfree
element {struct statvfs} fsblkcnt_t f_bavail
element {struct statvfs} fsfilcnt_t f_files
element {struct statvfs} fsfilcnt_t f_ffree
element {struct statvfs} fsfilcnt_t f_favail
// Bug 23086: f_fsid has type unsigned long long instead of unsigned long
xfail[i386-gnu]-element {struct statvfs} {unsigned long} f_fsid
element {struct statvfs} {unsigned long} f_flag
element {struct statvfs} {unsigned long} f_namemax

type fsblkcnt_t
type fsfilcnt_t

constant ST_RDONLY
constant ST_NOSUID

function int statvfs (const char*, struct statvfs*)
function int fstatvfs (int, struct statvfs*)

allow f_*
allow ST_*
allow *_t
#endif