projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
wordexp cannot use we_offs unless WRDE_DOOFFS flag is set
[musl]
/
src
/
stat
/
fstatvfs.c
1
#include <sys/statvfs.h>
2
#include "syscall.h"
3
#include "libc.h"
4
5
int fstatvfs(int fd, struct statvfs *buf)
6
{
7
#ifdef SYS_fstatfs64
8
return syscall(SYS_fstatfs64, fd, sizeof *buf, buf);
9
#else
10
return syscall(SYS_fstatfs, fd, buf);
11
#endif
12
}
13
14
weak_alias(fstatvfs, fstatfs);
15
16
LFS64(fstatvfs);
17
LFS64(fstatfs);