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



#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);
}