summaryrefslogtreecommitdiff
path: root/src/fcntl/posix_fadvise.c
blob: 75edafaf614a8f22307c0c9445b4d44ce39b487f (plain) (blame)
1
2
3
4
5
6
7
8
#include <fcntl.h>
#include "syscall.h"

int posix_fadvise(int fd, off_t base, off_t len, int advice)
{
	return -__syscall(SYS_fadvise, fd, __SYSCALL_LL(base),
		__SYSCALL_LL(len), advice);
}