projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix FAPPEND typo on x86_64 (previously only fixed on i386)
[musl]
/
src
/
stat
/
statvfs.c
1
#include <sys/statvfs.h>
2
#include "syscall.h"
3
#include "libc.h"
4
5
int statvfs(const char *path, struct statvfs *buf)
6
{
7
#ifdef SYS_statfs64
8
return syscall(SYS_statfs64, path, sizeof *buf, buf);
9
#else
10
return syscall(SYS_statfs, path, buf);
11
#endif
12
}
13
14
weak_alias(statvfs, statfs);
15
16
LFS64(statvfs);
17
LFS64(statfs);