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
remove LFS64 symbol aliases; replace with dynamic linker remapping
[musl.git]
/
src
/
unistd
/
preadv.c
blob
890ab403f9dbdff3e88faf0616805852345f02c2
1
#define _BSD_SOURCE
2
#include <sys/uio.h>
3
#include <unistd.h>
4
#include
"syscall.h"
5
6
ssize_t
preadv
(
int
fd
,
const struct
iovec
*
iov
,
int
count
,
off_t ofs
)
7
{
8
return
syscall_cp
(
SYS_preadv
,
fd
,
iov
,
count
,
9
(
long
)(
ofs
), (
long
)(
ofs
>>
32
));
10
}