diff options
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h index 6e4cf50..b9fbc49 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -44,7 +44,7 @@ extern ssize_t __libc_sendto (int __fd, const void *__buf, size_t __n, socklen_t __addr_len); /* Read N bytes into BUF through socket FD. - If ADDR is not NULL, fill in *ADDR_LEN bytes of it with tha address of + If ADDR is not NULL, fill in *ADDR_LEN bytes of it with the address of the sender, and store the actual size of the address in *ADDR_LEN. Returns the number of bytes read or -1 for errors. */ extern ssize_t __libc_recvfrom (int __fd, void *__restrict __buf, size_t __n, @@ -78,7 +78,7 @@ extern ssize_t __sendto (int __fd, const void *__buf, size_t __n, socklen_t __addr_len) attribute_hidden; /* Read N bytes into BUF through socket FD. - If ADDR is not NULL, fill in *ADDR_LEN bytes of it with tha address of + If ADDR is not NULL, fill in *ADDR_LEN bytes of it with the address of the sender, and store the actual size of the address in *ADDR_LEN. Returns the number of bytes read or -1 for errors. */ extern ssize_t __recvfrom (int __fd, void *__restrict __buf, size_t __n, |