|
Lines 42-47
Link Here
|
| 42 |
#endif |
42 |
#endif |
| 43 |
|
43 |
|
| 44 |
/* as defined in IEEE Std 1003.1, 2004 Edition */ |
44 |
/* as defined in IEEE Std 1003.1, 2004 Edition */ |
|
|
45 |
#if ((!defined(HAVE_STATVFS) && defined(HAVE_STATFS)) || \ |
| 46 |
(!defined(HAVE_FSTATVFS) && defined(HAVE_FSTATFS))) |
| 45 |
struct statvfs { |
47 |
struct statvfs { |
| 46 |
unsigned long f_bsize; /* File system block size. */ |
48 |
unsigned long f_bsize; /* File system block size. */ |
| 47 |
unsigned long f_frsize; /* Fundamental file system block size. */ |
49 |
unsigned long f_frsize; /* Fundamental file system block size. */ |
|
Lines 59-64
Link Here
|
| 59 |
unsigned long f_namemax;/* Maximum filename length. */ |
61 |
unsigned long f_namemax;/* Maximum filename length. */ |
| 60 |
}; |
62 |
}; |
| 61 |
#endif |
63 |
#endif |
|
|
64 |
#endif |
| 62 |
|
65 |
|
| 63 |
#ifndef HAVE_STATVFS |
66 |
#ifndef HAVE_STATVFS |
| 64 |
int statvfs(const char *, struct statvfs *); |
67 |
int statvfs(const char *, struct statvfs *); |