]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 25 Jan 2001 10:25:08 +0000 (10:25 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 25 Jan 2001 10:25:08 +0000 (10:25 +0000)
* include/sys/statvfs.h: New file.

ChangeLog
include/sys/statvfs.h [new file with mode: 0644]
sysdeps/posix/fpathconf.c
sysdeps/posix/pathconf.c

index 398502e214f68bad80444d71b0838f40e2335564..02ea29b8364bdbe2b5021f63dd4f6ae8ba392ec2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/include/sys/statvfs.h b/include/sys/statvfs.h
new file mode 100644 (file)
index 0000000..40acf9d
--- /dev/null
@@ -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
index c92afb94394633154250d85360f41b485ff9f8b9..93f0b995900043f094f46c656de5193ce9dcc034 100644 (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.  */
index f6d0253f69d5939f61f5d3bc550fccfc9d22c429..edb3961c6763d086d996cdc98c7166de1be29b89 100644 (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?  */
This page took 0.299594 seconds and 5 git commands to generate.