repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix setgroups behavior in multithreaded process
[musl.git]
/
src
/
linux
/
readahead.c
blob
5c70bfd6e1aa787f3e3b162f75bdb45332c34950
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
}