summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2015-10-14 17:00:35 +0000
committerjgh <jgh@FreeBSD.org>2015-10-14 17:00:35 +0000
commit3c5fa0a296407af66bae649389b715287938dc3f (patch)
tree6a63c27ac124961e6df932d6096906a059a13820 /lib
parent9f9e4ddb4965b473049b1df4a9f510ca8263ccf2 (diff)
downloadFreeBSD-src-3c5fa0a296407af66bae649389b715287938dc3f.zip
FreeBSD-src-3c5fa0a296407af66bae649389b715287938dc3f.tar.gz
MFC 288833:
PR: 203440 (based on) Submitted by: ceratv@rpi.edu Approved by: wblock@ (mentor) Differential Revision: https://reviews.freebsd.org/D3813 - address grammar
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 5d03aab..07fefc0 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -18,7 +18,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 14, 2013
+.Dd October 5, 2015
.Dt GETADDRINFO 3
.Os
.Sh NAME
@@ -236,15 +236,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