1 /* Definition of `struct statfs', information about a filesystem.
2 Copyright (C) 1996-1997, 2002 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, write to the Free
17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
20 #ifndef _BITS_STATFS_H
21 #define _BITS_STATFS_H 1
23 #if !defined _SYS_STATFS_H && !defined _SYS_MOUNT_H
24 # error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead."
27 #include <bits/types.h>
31 unsigned long f_version
;
32 unsigned long f_bsize
;
33 unsigned long f_iosize
;
34 #ifndef __USE_FILE_OFFSET64
35 __fsblkcnt_t f_blocks
;
37 __fsblkcnt_t f_bavail
;
41 __fsblkcnt64_t f_blocks
;
42 __fsblkcnt64_t f_bfree
;
43 __fsblkcnt64_t f_bavail
;
44 __fsfilcnt64_t f_files
;
45 __fsfilcnt64_t f_ffree
;
51 unsigned long int f_syncwrites
;
52 unsigned long int f_asyncwrites
;
53 char f_fstypename
[16];
55 unsigned long int f_syncreads
;
56 unsigned long int f_asyncreads
;
57 unsigned short f_namemax
;
58 char f_mntfromname
[80];
63 #ifdef __USE_LARGEFILE64
66 unsigned long f_version
;
67 unsigned long f_bsize
;
68 unsigned long f_iosize
;
69 __fsblkcnt64_t f_blocks
;
70 __fsblkcnt64_t f_bfree
;
71 __fsblkcnt64_t f_bavail
;
72 __fsfilcnt64_t f_files
;
73 __fsfilcnt64_t f_ffree
;
78 unsigned long int f_syncwrites
;
79 unsigned long int f_asyncwrites
;
80 char f_fstypename
[16];
82 unsigned long int f_syncreads
;
83 unsigned long int f_asyncreads
;
84 unsigned short f_namemax
;
85 char f_mntfromname
[80];
91 #endif /* _BITS_STATFS_H */