mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-06 05:10:05 +00:00
Update.
* include/sys/statvfs.h: New file.
This commit is contained in:
parent
87d2f3f00a
commit
c1fac80331
@ -6,6 +6,7 @@
|
|||||||
* sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
|
* sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
|
||||||
make old name weak alias.
|
make old name weak alias.
|
||||||
* sysdeps/generic/fstatvfs64.c: Likewise.
|
* sysdeps/generic/fstatvfs64.c: Likewise.
|
||||||
|
* include/sys/statvfs.h: New file.
|
||||||
|
|
||||||
* sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
|
* sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
|
||||||
_PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
|
_PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
|
||||||
|
7
include/sys/statvfs.h
Normal file
7
include/sys/statvfs.h
Normal 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
|
@ -21,6 +21,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <sys/statfs.h>
|
#include <sys/statfs.h>
|
||||||
|
#include <sys/statvfs.h>
|
||||||
|
|
||||||
|
|
||||||
/* Get file-specific information about descriptor FD. */
|
/* Get file-specific information about descriptor FD. */
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/statfs.h>
|
#include <sys/statfs.h>
|
||||||
|
#include <sys/statvfs.h>
|
||||||
|
|
||||||
|
|
||||||
/* Get file-specific information about PATH. */
|
/* Get file-specific information about PATH. */
|
||||||
long int
|
long int
|
||||||
@ -163,7 +165,6 @@ __pathconf (const char *path, int name)
|
|||||||
return 32;
|
return 32;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
case _PC_REC_INCR_XFER_SIZE:
|
case _PC_REC_INCR_XFER_SIZE:
|
||||||
/* XXX It is not entirely clear what the limit is supposed to do.
|
/* XXX It is not entirely clear what the limit is supposed to do.
|
||||||
What is incremented? */
|
What is incremented? */
|
||||||
|
Loading…
Reference in New Issue
Block a user