1statvfs.h(3HEAD) Headers statvfs.h(3HEAD)
2
3
4
6 statvfs.h, statvfs - VFS File System information structure
7
9 #include <sys/statvfs.h>
10
11
13 The <sys/statvfs.h> header defines the statvfs structure, which
14 includes the following members:
15
16 unsigned long f_bsize /* file system block
17 size */
18 unsigned long f_frsize /* fundamental file system block
19 size */
20 fsblkcnt_t f_blocks /* total number of blocks on file
21 system in units of f_frsize */
22 fsblkcnt_t f_bfree /* total number of free blocks */
23 fsblkcnt_t f_bavail /* number of free blocks available
24 to non-privileged process */
25 fsfilcnt_t f_files /* total number of file serial
26 numbers */
27 fsfilcnt_t f_ffree /* total number of free file serial
28 numbers */
29 fsfilcnt_t f_favail /* number of file serial numbers
30 available to non-privileged
31 unsigned long f_fsid /* process file system ID */
32 unsigned long f_flag /* bit mask of f_flag values */
33 unsigned long f_namemax /* maximum filename length */
34
35
36
37 The fsblkcnt_t and fsfilcnt_t types are defined as described in
38 <sys/types.h>. See types.h(3HEAD).
39
40
41 The following flags for the f_flag member are defined:
42
43 ST_RDONLY read-only file system
44
45
46 ST_NOSUID does not support setuid()/setgid() semantics
47
48
50 See attributes(5) for descriptions of the following attributes:
51
52
53
54
55 ┌─────────────────────────────┬─────────────────────────────┐
56 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
57 ├─────────────────────────────┼─────────────────────────────┤
58 │Interface Stability │Standard │
59 └─────────────────────────────┴─────────────────────────────┘
60
62 statvfs(2), types.h(3HEAD), attributes(5), standards(5)
63
64
65
66SunOS 5.11 10 Sep 2004 statvfs.h(3HEAD)