summaryrefslogblamecommitdiff
path: root/src/stat/statvfs.c
blob: ebf14b43515a6c02f77fb62e3e5cfd164bf0889f (plain) (tree)
1
2
3
4
5
6
7





                                                  
                                                            





                            
#include <sys/statvfs.h>
#include "syscall.h"
#include "libc.h"

int statvfs(const char *path, struct statvfs *buf)
{
	return syscall2(__NR_statfs, (long)path, (long)buf);
}

weak_alias(statvfs, statfs);

LFS64(statvfs);
LFS64(statfs);