summaryrefslogtreecommitdiff
path: root/lib/libc/fcntl/posix_fadvise.c
blob: 74954461e17c5cf5088536d3b428cc17588cc691 (plain)
1
2
3
4
5
6
7
8
9
10


#include <fcntl.h>     // for posix_fadvise
#include <sys/types.h> // for off_t
#include <syscall.h>   // for __syscall_4, syscall

int posix_fadvise(int fd, off_t offset, off_t len, int advice)
{
	return syscall(fadvise64, fd, offset, len, advice);
}