diff options
Diffstat (limited to 'libc/sysdeps/linux/common/readv.c')
-rw-r--r-- | libc/sysdeps/linux/common/readv.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/readv.c b/libc/sysdeps/linux/common/readv.c index 040e61266..20226f39c 100644 --- a/libc/sysdeps/linux/common/readv.c +++ b/libc/sysdeps/linux/common/readv.c @@ -9,5 +9,10 @@ #include "syscalls.h" #include <sys/uio.h> -_syscall3(ssize_t, readv, int, filedes, const struct iovec *, vector, + +extern __typeof(readv) __libc_readv; + +#define __NR___libc_readv __NR_readv +_syscall3(ssize_t, __libc_readv, int, filedes, const struct iovec *, vector, int, count); +weak_alias(__libc_readv,readv) |