1 2 3 4 5 6 7 8
#define _GNU_SOURCE #include <fcntl.h> #include "syscall.h" ssize_t readahead(int fd, off_t pos, size_t len) { return syscall(SYS_readahead, fd, __SYSCALL_LL_O(pos), len); }