readahead.c raw

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