diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-09-19 23:35:48 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-09-19 23:35:48 -0400 |
commit | 114c80f1416617399c85c2df09dd307532399903 (patch) | |
tree | 5168ccc178e9b854385fa23caab3e055ea7a555c /src/stat/fstatvfs.c | |
parent | 8c07f6eac843c2acb217083d48c4cef95f2b891c (diff) | |
download | musl-114c80f1416617399c85c2df09dd307532399903.tar.gz musl-114c80f1416617399c85c2df09dd307532399903.tar.bz2 musl-114c80f1416617399c85c2df09dd307532399903.tar.xz musl-114c80f1416617399c85c2df09dd307532399903.zip |
fix the definition of struct statvfs to match lsb abi
at the same time, make struct statfs match the traditional definition
and make it more useful, especially the fsid_t stuff.
Diffstat (limited to 'src/stat/fstatvfs.c')
-rw-r--r-- | src/stat/fstatvfs.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/stat/fstatvfs.c b/src/stat/fstatvfs.c deleted file mode 100644 index 806c3fd4..00000000 --- a/src/stat/fstatvfs.c +++ /dev/null @@ -1,17 +0,0 @@ -#include <sys/statvfs.h> -#include "syscall.h" -#include "libc.h" - -int fstatvfs(int fd, struct statvfs *buf) -{ -#ifdef SYS_fstatfs64 - return syscall(SYS_fstatfs64, fd, sizeof *buf, buf); -#else - return syscall(SYS_fstatfs, fd, buf); -#endif -} - -weak_alias(fstatvfs, fstatfs); - -LFS64(fstatvfs); -LFS64(fstatfs); |