mirror of https://git.musl-libc.org/git/musl
2 changed files with 9 additions and 0 deletions
@ -0,0 +1,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); |
||||
|
} |
||||
Loading…
Reference in new issue