1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-14 20:01:03 +03:00

send returns ssize_t.

This commit is contained in:
Andreas Jaeger
2001-04-24 13:36:50 +00:00
parent dcea709aac
commit c2063191c3
12 changed files with 40 additions and 40 deletions

View File

@ -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