summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-10-05 20:08:11 +0000
committerdim <dim@FreeBSD.org>2015-10-05 20:08:11 +0000
commit24ac568077f391da473e7e8d8c528d76b83a82db (patch)
treec3140b10c344853eca587b8d5376c72d51bebfee /lib
parentb8692e2427ccf55a21b7c28ddcbe6445627a24f4 (diff)
downloadFreeBSD-src-24ac568077f391da473e7e8d8c528d76b83a82db.zip
FreeBSD-src-24ac568077f391da473e7e8d8c528d76b83a82db.tar.gz
Merge ^/head r288831 through r288835.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/getaddrinfo.313
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index e13c667..1d6cb56 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -18,7 +18,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 20, 2015
+.Dd October 5, 2015
.Dt GETADDRINFO 3
.Os
.Sh NAME
@@ -243,15 +243,14 @@ The list can be traversed by following the
pointer in each
.Li addrinfo
structure until a null pointer is encountered.
-The three members
+Each returned
+.Li addrinfo
+structure contains three members that are suitable for a call to
+.Xr socket 2 :
.Fa ai_family ,
.Fa ai_socktype ,
and
-.Fa ai_protocol
-in each returned
-.Li addrinfo
-structure are suitable for a call to
-.Xr socket 2 .
+.Fa ai_protocol .
For each
.Li addrinfo
structure in the list, the
OpenPOWER on IntegriCloud