Sign in
cobalt
/
cobalt
/
788710a0d7b1b8d8e2340dd5fad5e8783a239862
/
.
/
third_party
/
musl
/
src
/
unistd
/
preadv.c
blob: 890ab403f9dbdff3e88faf0616805852345f02c2 [
file
] [
log
] [
blame
]
#define
_BSD_SOURCE
#include
<sys/uio.h>
#include
<unistd.h>
#include
"syscall.h"
ssize_t
preadv
(
int
fd
,
const
struct
iovec
*
iov
,
int
count
,
off_t
ofs
)
{
return
syscall_cp
(
SYS_preadv
,
fd
,
iov
,
count
,
(
long
)(
ofs
),
(
long
)(
ofs
>>
32
));
}