summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/net/getnameinfo.312
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3
index 4496633..84b98cb 100644
--- a/lib/libc/net/getnameinfo.3
+++ b/lib/libc/net/getnameinfo.3
@@ -55,14 +55,14 @@ The
.Fn getnameinfo
function is defined for protocol-independent address-to-nodename translation.
Its functionality is a reverse conversion of
-.Xr getaddrinfo 3 ,
-and implements similar functionality with
-.Xr gethostbyaddr 3 and
-.Xr getservbyport 3
-in more sophisticated manner.
+.Xr getaddrinfo 3
+and is similar to that of
+.Xr gethostbyaddr 3
+and
+.Xr getservbyport 3 .
.Pp
This function looks up an IP address and port number provided by the
-caller in the DNS and system-specific database, and returns text
+caller in the DNS and system-specific database and then returns text
strings for both in buffers provided by the caller.
The function indicates successful completion by a zero return value;
a non-zero return value indicates failure.
OpenPOWER on IntegriCloud