diff options
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/recvfrom.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/recvmsg.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/send.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/sendmsg.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/sendto.c | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/sysdeps/generic/recvfrom.c b/sysdeps/generic/recvfrom.c index 35b281a2a1..acb1e98ef1 100644 --- a/sysdeps/generic/recvfrom.c +++ b/sysdeps/generic/recvfrom.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -22,7 +22,7 @@ /* Read N bytes into BUF through socket FD from peer at address ADDR (which is ADDR_LEN bytes long). Returns the number read or -1 for errors. */ -int +ssize_t recvfrom (fd, buf, n, flags, addr, addr_len) int fd; void *buf; diff --git a/sysdeps/generic/recvmsg.c b/sysdeps/generic/recvmsg.c index 625e85aae9..c4bbd1b2ce 100644 --- a/sysdeps/generic/recvmsg.c +++ b/sysdeps/generic/recvmsg.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,7 +21,7 @@ /* Receive a message as described by MESSAGE from socket FD. Returns the number of bytes read or -1 for errors. */ -int +ssize_t recvmsg (fd, message, flags) int fd; struct msghdr *message; diff --git a/sysdeps/generic/send.c b/sysdeps/generic/send.c index 0ef82948ea..35c05baaea 100644 --- a/sysdeps/generic/send.c +++ b/sysdeps/generic/send.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -20,7 +20,7 @@ #include <sys/socket.h> /* Send N bytes of BUF to socket FD. Returns the number sent or -1. */ -int +ssize_t __send (fd, buf, n, flags) int fd; __const __ptr_t buf; diff --git a/sysdeps/generic/sendmsg.c b/sysdeps/generic/sendmsg.c index 20d8bd6f67..9f771be635 100644 --- a/sysdeps/generic/sendmsg.c +++ b/sysdeps/generic/sendmsg.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,7 +21,7 @@ /* Send a message described MESSAGE on socket FD. Returns the number of bytes sent, or -1 for errors. */ -int +ssize_t sendmsg (fd, message, flags) int fd; const struct msghdr *message; diff --git a/sysdeps/generic/sendto.c b/sysdeps/generic/sendto.c index f9b3c87f68..54f3e18396 100644 --- a/sysdeps/generic/sendto.c +++ b/sysdeps/generic/sendto.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,7 +21,7 @@ /* Send N bytes of BUF on socket FD to peer at address ADDR (which is ADDR_LEN bytes long). Returns the number sent, or -1 for errors. */ -int +ssize_t sendto (fd, buf, n, flags, addr, addr_len) int fd; __const __ptr_t buf; |