From b4a09d83d1568672b94fe91b678194409983b824 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 23 Aug 2006 23:25:34 +0000 Subject: psm updates: add __libc symbols for signal cancellation --- libc/sysdeps/linux/common/readv.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/readv.c') 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 -_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) -- cgit v1.2.3