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





                                         
                                                          





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

int fstatvfs(int fd, struct statvfs *buf)
{
	return syscall(SYS_fstatfs, fd, sizeof *buf, buf);
}

weak_alias(fstatvfs, fstatfs);

LFS64(fstatvfs);
LFS64(fstatfs);