summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>2000-05-31 04:34:23 +0000
committerhoek <hoek@FreeBSD.org>2000-05-31 04:34:23 +0000
commit710538e8a1f1a594ef64db4fe241ce6c77fc4926 (patch)
tree4270c11681c12e6adae57230d42f5c1f50af7044 /lib/libc/net
parentb4335ed1f63879f2afac6f5b66d41c28277fd9ed (diff)
downloadFreeBSD-src-710538e8a1f1a594ef64db4fe241ce6c77fc4926.zip
FreeBSD-src-710538e8a1f1a594ef64db4fe241ce6c77fc4926.tar.gz
Fix an mdoc-o, and english.
Diffstat (limited to 'lib/libc/net')
-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