summaryrefslogtreecommitdiff
path: root/src/stat/fstatvfs.c
blob: 4a8bfe2e1ea1238be352c6244ca981629a3b6d46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <sys/statvfs.h>
#include "syscall.h"
#include "libc.h"

int fstatvfs(int fd, struct statvfs *buf)
{
	return syscall2(__NR_fstatfs, fd, (long)buf);
}

weak_alias(fstatvfs, fstatfs);

LFS64(fstatvfs);
LFS64(fstatfs);