2017-04-27 20:29:35 +00:00
|
|
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
|
2000-02-28 05:08:01 +00:00
|
|
|
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
|
2018-04-19 01:51:45 +02:00
|
|
|
// Bug 23086: f_fsid has type unsigned long long instead of unsigned long
|
|
|
|
|
xfail[i386-gnu]-element {struct statvfs} {unsigned long} f_fsid
|
2000-02-28 05:08:01 +00:00
|
|
|
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
|
2012-02-25 23:18:39 -05:00
|
|
|
#endif
|