9 lines
176 B
C
9 lines
176 B
C
|
#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);
|
||
|
}
|