From c2063191c35b57831414ed9a48e549ba3d2d2321 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 24 Apr 2001 13:36:50 +0000 Subject: send returns ssize_t. --- linuxthreads/wrapsyscall.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'linuxthreads') diff --git a/linuxthreads/wrapsyscall.c b/linuxthreads/wrapsyscall.c index 5563eb0e67..74923e14e4 100644 --- a/linuxthreads/wrapsyscall.c +++ b/linuxthreads/wrapsyscall.c @@ -1,5 +1,5 @@ /* Wrapper arpund system calls to provide cancelation points. - Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. @@ -195,31 +195,31 @@ CANCELABLE_SYSCALL (int, connect, (int fd, __CONST_SOCKADDR_ARG addr, strong_alias (connect, __connect) /* recv(2). */ -CANCELABLE_SYSCALL (int, recv, (int fd, __ptr_t buf, size_t n, int flags), +CANCELABLE_SYSCALL (ssize_t, recv, (int fd, __ptr_t buf, size_t n, int flags), (fd, buf, n, flags)) /* recvfrom(2). */ -CANCELABLE_SYSCALL (int, recvfrom, (int fd, __ptr_t buf, size_t n, int flags, - __SOCKADDR_ARG addr, socklen_t *addr_len), +CANCELABLE_SYSCALL (ssize_t, recvfrom, (int fd, __ptr_t buf, size_t n, int flags, + __SOCKADDR_ARG addr, socklen_t *addr_len), (fd, buf, n, flags, addr, addr_len)) /* recvmsg(2). */ -CANCELABLE_SYSCALL (int, recvmsg, (int fd, struct msghdr *message, int flags), +CANCELABLE_SYSCALL (ssize_t, recvmsg, (int fd, struct msghdr *message, int flags), (fd, message, flags)) /* send(2). */ -CANCELABLE_SYSCALL (int, send, (int fd, const __ptr_t buf, size_t n, - int flags), +CANCELABLE_SYSCALL (ssize_t, send, (ssize_t fd, const __ptr_t buf, size_t n, + int flags), (fd, buf, n, flags)) strong_alias (send, __send) /* sendmsg(2). */ -CANCELABLE_SYSCALL (int, sendmsg, (int fd, const struct msghdr *message, - int flags), +CANCELABLE_SYSCALL (ssize_t, sendmsg, (int fd, const struct msghdr *message, + int flags), (fd, message, flags)) /* sendto(2). */ -CANCELABLE_SYSCALL (int, sendto, (int fd, const __ptr_t buf, size_t n, - int flags, __CONST_SOCKADDR_ARG addr, - socklen_t addr_len), +CANCELABLE_SYSCALL (ssize_t, sendto, (ssize_t fd, const __ptr_t buf, size_t n, + int flags, __CONST_SOCKADDR_ARG addr, + socklen_t addr_len), (fd, buf, n, flags, addr, addr_len)) -- cgit v1.2.3