summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/getaddrinfo.3
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2015-10-05 18:09:43 +0000
committerjgh <jgh@FreeBSD.org>2015-10-05 18:09:43 +0000
commit2fd2750b544183aa48cc1f2543446ef603d47f02 (patch)
tree1bfb1ea12ef4f95151cc38e16fc3faeacfe99276 /lib/libc/net/getaddrinfo.3
parent1a8544448c1321d3c41eba2160e97919d6b25948 (diff)
downloadFreeBSD-src-2fd2750b544183aa48cc1f2543446ef603d47f02.zip
FreeBSD-src-2fd2750b544183aa48cc1f2543446ef603d47f02.tar.gz
- address grammar
PR: 203440 (based on) Submitted by: ceratv@rpi.edu Approved by: wblock@ (mentor) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D3813
Diffstat (limited to 'lib/libc/net/getaddrinfo.3')
-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