* include/sys/statvfs.h: New file.
* 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
--- /dev/null
+#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
#include <unistd.h>
#include <limits.h>
#include <sys/statfs.h>
+#include <sys/statvfs.h>
/* Get file-specific information about descriptor FD. */
#include <limits.h>
#include <fcntl.h>
#include <sys/statfs.h>
+#include <sys/statvfs.h>
+
/* Get file-specific information about PATH. */
long int
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? */