summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>2000-05-31 04:34:23 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>2000-05-31 04:34:23 +0000
commit0525c9d12790041fe6159c509e7fed0a41241817 (patch)
tree75b280ce3b5a215ca91a2ce2e6745b97ecedeeca /lib/libc
parentbd68ce8be99c59ea9d0fed43c39f114a51600fa6 (diff)
Notes
Diffstat (limited to 'lib/libc')
-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 4496633cfc47..84b98cb025dd 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.