* include/sys/statvfs.h: New file.
This commit is contained in:
Ulrich Drepper 2001-01-25 10:25:08 +00:00
parent 87d2f3f00a
commit c1fac80331
4 changed files with 11 additions and 1 deletions

View File

@ -6,6 +6,7 @@
* sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
make old name weak alias.
* sysdeps/generic/fstatvfs64.c: Likewise.
* include/sys/statvfs.h: New file.
* sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
_PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and

7
include/sys/statvfs.h Normal file
View File

@ -0,0 +1,7 @@
#ifndef _SYS_STATVFS_H
#include <io/sys/statvfs.h>
/* Now define the internal interfaces. */
extern int __statvfs64 (__const char *__file, struct statvfs64 *__buf);
extern int __fstatvfs64 (int __fildes, struct statvfs64 *__buf);
#endif

View File

@ -21,6 +21,7 @@
#include <unistd.h>
#include <limits.h>
#include <sys/statfs.h>
#include <sys/statvfs.h>
/* Get file-specific information about descriptor FD. */

View File

@ -22,6 +22,8 @@
#include <limits.h>
#include <fcntl.h>
#include <sys/statfs.h>
#include <sys/statvfs.h>
/* Get file-specific information about PATH. */
long int
@ -163,7 +165,6 @@ __pathconf (const char *path, int name)
return 32;
#endif
case _PC_REC_INCR_XFER_SIZE:
/* XXX It is not entirely clear what the limit is supposed to do.
What is incremented? */