add mips n32 port (ILP32 ABI for mips64)
[oweals/musl.git] / src / unistd / preadv.c
1 #define _BSD_SOURCE
2 #include <sys/uio.h>
3 #include <unistd.h>
4 #include "syscall.h"
5 #include "libc.h"
6
7 ssize_t preadv(int fd, const struct iovec *iov, int count, off_t ofs)
8 {
9         return syscall_cp(SYS_preadv, fd, iov, count,
10                 (long)(ofs), (long)(ofs>>32));
11 }
12
13 LFS64(preadv);