LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
libxenon
include
sys
statvfs.h
Go to the documentation of this file.
1
#ifndef _SYS_STATVFS_H
2
#define _SYS_STATVFS_H
3
4
5
#define ST_RDONLY 0x0001
6
#define ST_NOSUID 0x0002
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
12
#include <sys/types.h>
13
14
typedef
__uint32_t
fsfilcnt_t
;
15
16
struct
statvfs
{
17
unsigned
long
f_bsize
;
18
unsigned
long
f_frsize
;
19
fsblkcnt_t
f_blocks
;
20
fsblkcnt_t
f_bfree
;
21
fsblkcnt_t
f_bavail
;
22
fsfilcnt_t
f_files
;
23
fsfilcnt_t
f_ffree
;
24
fsfilcnt_t
f_favail
;
25
unsigned
long
f_fsid
;
26
unsigned
long
f_flag
;
27
unsigned
long
f_namemax
;
28
};
29
30
int
statvfs
(
const
char
*path,
struct
statvfs
*buf);
31
32
#ifdef __cplusplus
33
}
34
#endif
35
36
37
#endif
// _SYS_STATVFS_H
fsfilcnt_t
__uint32_t fsfilcnt_t
Definition:
statvfs.h:14
statvfs
Definition:
statvfs.h:16
statvfs::f_namemax
unsigned long f_namemax
Definition:
statvfs.h:27
statvfs::f_fsid
unsigned long f_fsid
Definition:
statvfs.h:25
statvfs::f_bsize
unsigned long f_bsize
Definition:
statvfs.h:17
statvfs::f_bavail
fsblkcnt_t f_bavail
Definition:
statvfs.h:21
statvfs::f_files
fsfilcnt_t f_files
Definition:
statvfs.h:22
statvfs::f_ffree
fsfilcnt_t f_ffree
Definition:
statvfs.h:23
statvfs::f_favail
fsfilcnt_t f_favail
Definition:
statvfs.h:24
statvfs::f_blocks
fsblkcnt_t f_blocks
Definition:
statvfs.h:19
statvfs::f_bfree
fsblkcnt_t f_bfree
Definition:
statvfs.h:20
statvfs::f_flag
unsigned long f_flag
Definition:
statvfs.h:26
statvfs::f_frsize
unsigned long f_frsize
Definition:
statvfs.h:18
Generated by
1.9.5