summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/errno.texi2
-rw-r--r--manual/socket.texi8
2 files changed, 4 insertions, 6 deletions
diff --git a/manual/errno.texi b/manual/errno.texi
index bba820869e..800b0393c5 100644
--- a/manual/errno.texi
+++ b/manual/errno.texi
@@ -430,7 +430,7 @@ until some external condition makes it possible to read, write, or
connect (whatever the operation). You can use @code{select} to find out
when the operation will be possible; @pxref{Waiting for I/O}.
-@strong{Portability Note:} In older Unix many systems, this condition
+@strong{Portability Note:} In older many Unix systems, this condition
was indicated by @code{EWOULDBLOCK}, which was a distinct error code
different from @code{EAGAIN}. To make your program portable, you should
check for both codes and treat them the same.
diff --git a/manual/socket.texi b/manual/socket.texi
index 6efc54d1a5..cc39bec452 100644
--- a/manual/socket.texi
+++ b/manual/socket.texi
@@ -852,7 +852,7 @@ local-address-within-network numbers in host byte order.
@comment arpa/inet.h
@comment BSD
-@deftypefun {int} inet_aton (const char *@var{name}, struct in_addr *@var{addr})
+@deftypefun int inet_aton (const char *@var{name}, struct in_addr *@var{addr})
This function converts the Internet host address @var{name}
from the standard numbers-and-dots notation into binary data and stores
it in the @code{struct in_addr} that @var{addr} points to.
@@ -917,8 +917,7 @@ address @var{addr}.
@comment arpa/inet.h
@comment IPv6 basic API
-@deftypefun int inet_pton (int @var{af}, const char *@var{cp}, void
-*@var{buf})
+@deftypefun int inet_pton (int @var{af}, const char *@var{cp}, void *@var{buf})
This function converts an Internet address (either IPv4 or IPv6) from
presentation (textual) to network (binary) format. @var{af} should be
either @code{AF_INET} or @code{AF_INET6}, as appropriate for the type of
@@ -929,8 +928,7 @@ responsibility to make sure the buffer is large enough.
@comment arpa/inet.h
@comment IPv6 basic API
-@deftypefun char *inet_ntop(int @var{af}, const void *@var{cp}, char
-*@var{buf}, size_t @var{len})
+@deftypefun {char *} inet_ntop (int @var{af}, const void *@var{cp}, char *@var{buf}, size_t @var{len})
This function converts an Internet address (either IPv4 or IPv6) from
network (binary) to presentation (textual) form. @var{af} should be
either @code{AF_INET} or @code{AF_INET6}, as appropriate. @var{cp} is a