1 #define _BSD_SOURCE 2 #include <sys/uio.h> 3 #include <unistd.h> 4 #include "syscall.h" 5 preadv(int fd,const struct iovec * iov,int count,off_t ofs)6ssize_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 } 11 12 weak_alias(preadv, preadv64); 13