summaryrefslogtreecommitdiff
path: root/src/fcntl/posix_fallocate.c
blob: bd726242d325a461d66ad505e57f5db5f5ca7351 (plain) (blame)
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_O(base),
		__SYSCALL_LL_E(len));
}