update netinet/udp.h for linux v4.18
[musl.git] / src / unistd / pwritev.c
blobf5a612c486e132f41ab73670c4c7e24c28f0f27a
1 #define _BSD_SOURCE
2 #include <sys/uio.h>
3 #include <unistd.h>
4 #include "syscall.h"
6 ssize_t pwritev(int fd, const struct iovec *iov, int count, off_t ofs)
8 return syscall_cp(SYS_pwritev, fd, iov, count,
9 (long)(ofs), (long)(ofs>>32));
12 weak_alias(pwritev, pwritev64);