projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e72c225c74aa98ecb5cc0038904019856ec7e7de
[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);