Sign in
cobalt
/
cobalt
/
refs/tags/24.lts.20
/
.
/
third_party
/
musl
/
src
/
unistd
/
pwritev.c
blob: becf9debfc3c86d9037584c070ea48e6c71d92a5 [
file
] [
log
] [
blame
]
#define
_BSD_SOURCE
#include
<sys/uio.h>
#include
<unistd.h>
#include
"syscall.h"
ssize_t
pwritev
(
int
fd
,
const
struct
iovec
*
iov
,
int
count
,
off_t
ofs
)
{
return
syscall_cp
(
SYS_pwritev
,
fd
,
iov
,
count
,
(
long
)(
ofs
),
(
long
)(
ofs
>>
32
));
}