diff options
author | Andreas Jaeger <aj@suse.de> | 2001-04-24 13:36:50 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-04-24 13:36:50 +0000 |
commit | c2063191c35b57831414ed9a48e549ba3d2d2321 (patch) | |
tree | f659fcb33d5d99e068ee3f3b080ac39ec1cdbfc0 /include | |
parent | dcea709aac90f307d27551cc3752744334292f97 (diff) | |
download | glibc-c2063191c35b57831414ed9a48e549ba3d2d2321.tar.gz glibc-c2063191c35b57831414ed9a48e549ba3d2d2321.tar.xz glibc-c2063191c35b57831414ed9a48e549ba3d2d2321.zip |
send returns ssize_t.
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h index 5e97ddfb53..4ae7108509 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -20,7 +20,7 @@ extern int __opensock (void) internal_function; extern int __getpeername (int __fd, __SOCKADDR_ARG __addr, socklen_t *__len); /* Send N bytes of BUF to socket FD. Returns the number sent or -1. */ -extern int __send (int __fd, __const void *__buf, size_t __n, int __flags); +extern ssize_t __send (int __fd, __const void *__buf, size_t __n, int __flags); /* Open a connection on socket FD to peer at ADDR (which LEN bytes long). For connectionless socket types, just set the default address to send to |