statvfs.h
01: 
02: 
03: 
04: 
05: 
06: 
07: 
08: 
09: 
10: 
11: 
12: 
13: 
14: 
15: 
16: 
17: 
18: 
19: 
20: #ifndef _SYS_STATVFS_H
21: #define _SYS_STATVFS_H  1
22: 
23: #include <features.h>
24: 
25: 
26: #include <bits/statvfs.h>
27: 
28: #ifndef __USE_FILE_OFFSET64
29: # ifndef __fsblkcnt_t_defined
30: typedef __fsblkcnt_t fsblkcnt_t; 
31: #  define __fsblkcnt_t_defined
32: # endif
33: # ifndef __fsfilcnt_t_defined
34: typedef __fsfilcnt_t fsfilcnt_t; 
35: #  define __fsfilcnt_t_defined
36: # endif
37: #else
38: # ifndef __fsblkcnt_t_defined
39: typedef __fsblkcnt64_t fsblkcnt_t; 
40: #  define __fsblkcnt_t_defined
41: # endif
42: # ifndef __fsfilcnt_t_defined
43: typedef __fsfilcnt64_t fsfilcnt_t; 
44: #  define __fsfilcnt_t_defined
45: # endif
46: #endif
47: 
48: __BEGIN_DECLS
49: 
50: 
51: #ifndef __USE_FILE_OFFSET64
52: extern int statvfs (__const char *__restrict __file,
53:                     struct statvfs *__restrict __buf)
54:      __THROW __nonnull ((1, 2));
55: #else
56: # ifdef __REDIRECT_NTH
57: extern int __REDIRECT_NTH (statvfs,
58:                            (__const char *__restrict __file,
59:                             struct statvfs *__restrict __buf), statvfs64)
60:      __nonnull ((1, 2));
61: # else
62: #  define statvfs statvfs64
63: # endif
64: #endif
65: #ifdef __USE_LARGEFILE64
66: extern int statvfs64 (__const char *__restrict __file,
67:                       struct statvfs64 *__restrict __buf)
68:      __THROW __nonnull ((1, 2));
69: #endif
70: 
71: 
72: 
73: #ifndef __USE_FILE_OFFSET64
74: extern int fstatvfs (int __fildes, struct statvfs *__buf)
75:      __THROW __nonnull ((2));
76: #else
77: # ifdef __REDIRECT_NTH
78: extern int __REDIRECT_NTH (fstatvfs, (int __fildes, struct statvfs *__buf),
79:                            fstatvfs64) __nonnull ((2));
80: # else
81: #  define fstatvfs fstatvfs64
82: # endif
83: #endif
84: #ifdef __USE_LARGEFILE64
85: extern int fstatvfs64 (int __fildes, struct statvfs64 *__buf)
86:      __THROW __nonnull ((2));
87: #endif
88: 
89: __END_DECLS
90: 
91: #endif  
92: 
      
      
      
      
   
      
      
         
            
            © Andrew Scott 2006 -
            2025, 
            All Rights Reserved