summaryrefslogblamecommitdiff
path: root/src/fcntl/posix_fallocate.c
blob: d6680c142c35ba51159ad767a155a898dd836503 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                
#include <fcntl.h>
#include "syscall.h"

int posix_fallocate(int fd, off_t base, off_t len)
{
	return -__syscall(SYS_fallocate, fd, __SYSCALL_LL(base),
		__SYSCALL_LL(len));
}