OLD | NEW |
1 #ifndef»_SYS_STATFS_H | 1 #ifndef _SYS_STATFS_H |
2 #define»_SYS_STATFS_H | 2 #define _SYS_STATFS_H |
3 | 3 |
4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
5 extern "C" { | 5 extern "C" { |
6 #endif | 6 #endif |
7 | 7 |
8 #include <features.h> | 8 #include <features.h> |
9 | 9 |
10 #include <sys/statvfs.h> | 10 #include <sys/statvfs.h> |
11 | 11 |
12 typedef struct __fsid_t { | 12 typedef struct __fsid_t { int __val[2]; } fsid_t; |
13 » int __val[2]; | |
14 } fsid_t; | |
15 | 13 |
16 #include <bits/statfs.h> | 14 #include <bits/statfs.h> |
17 | 15 |
18 int statfs (const char *, struct statfs *); | 16 int statfs(const char*, struct statfs*); |
19 int fstatfs (int, struct statfs *); | 17 int fstatfs(int, struct statfs*); |
20 | 18 |
21 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) | 19 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) |
22 #define statfs64 statfs | 20 #define statfs64 statfs |
23 #define fstatfs64 fstatfs | 21 #define fstatfs64 fstatfs |
24 #define fsblkcnt64_t fsblkcnt_t | 22 #define fsblkcnt64_t fsblkcnt_t |
25 #define fsfilcnt64_t fsfilcnt_t | 23 #define fsfilcnt64_t fsfilcnt_t |
26 #endif | 24 #endif |
27 | 25 |
28 #ifdef __cplusplus | 26 #ifdef __cplusplus |
29 } | 27 } |
30 #endif | 28 #endif |
31 | 29 |
32 #endif | 30 #endif |
OLD | NEW |