statfs.h
01: 
02: 
03: 
04: 
05: 
06: 
07: 
08: 
09: 
10: 
11: 
12: 
13: 
14: 
15: 
16: 
17: 
18: 
19: 
20: #ifndef _SYS_STATFS_H
21: #define _SYS_STATFS_H   1
22: 
23: #include <features.h>
24: 
25: 
26: #include <bits/statfs.h>
27: 
28: __BEGIN_DECLS
29: 
30: 
31: #ifndef __USE_FILE_OFFSET64
32: extern int statfs (__const char *__file, struct statfs *__buf)
33:      __THROW __nonnull ((1, 2));
34: #else
35: # ifdef __REDIRECT_NTH
36: extern int __REDIRECT_NTH (statfs,
37:                            (__const char *__file, struct statfs *__buf),
38:                            statfs64) __nonnull ((1, 2));
39: # else
40: #  define statfs statfs64
41: # endif
42: #endif
43: #ifdef __USE_LARGEFILE64
44: extern int statfs64 (__const char *__file, struct statfs64 *__buf)
45:      __THROW __nonnull ((1, 2));
46: #endif
47: 
48: 
49: 
50: #ifndef __USE_FILE_OFFSET64
51: extern int fstatfs (int __fildes, struct statfs *__buf)
52:      __THROW __nonnull ((2));
53: #else
54: # ifdef __REDIRECT_NTH
55: extern int __REDIRECT_NTH (fstatfs, (int __fildes, struct statfs *__buf),
56:                            fstatfs64) __nonnull ((2));
57: # else
58: #  define fstatfs fstatfs64
59: # endif
60: #endif
61: #ifdef __USE_LARGEFILE64
62: extern int fstatfs64 (int __fildes, struct statfs64 *__buf)
63:      __THROW __nonnull ((2));
64: #endif
65: 
66: __END_DECLS
67: 
68: #endif  
69: 
      
      
      
      
   
      
      
         
            
            © Andrew Scott 2006 -
            2025, 
            All Rights Reserved