X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Funistd%2Freadv.c;h=91e6de816779314684a3bb20ae6bd08158eca285;hb=db3cc9a319c788cf5241ea68d3fa86b43f35733e;hp=9b87728e08bdb88bed07c13d5cd4453441edb861;hpb=aa398f56fa398f2202b04e82c67f822f3233786f;p=musl diff --git a/src/unistd/readv.c b/src/unistd/readv.c index 9b87728e..91e6de81 100644 --- a/src/unistd/readv.c +++ b/src/unistd/readv.c @@ -1,12 +1,7 @@ #include #include "syscall.h" -#include "libc.h" ssize_t readv(int fd, const struct iovec *iov, int count) { - ssize_t r; - CANCELPT_BEGIN; - r = syscall(SYS_readv, fd, iov, count); - CANCELPT_END; - return r; + return syscall_cp(SYS_readv, fd, iov, count); }