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