blob: 087182945c1b7e44b3294b5081071ad22624b8f4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "asm/unistd_64.h" // for __NR_fadvise64
#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);
}
|