- 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
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd September 20, 2015
|
.Dd October 5, 2015
|
||||||
.Dt GETADDRINFO 3
|
.Dt GETADDRINFO 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -243,15 +243,14 @@ The list can be traversed by following the
|
|||||||
pointer in each
|
pointer in each
|
||||||
.Li addrinfo
|
.Li addrinfo
|
||||||
structure until a null pointer is encountered.
|
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_family ,
|
||||||
.Fa ai_socktype ,
|
.Fa ai_socktype ,
|
||||||
and
|
and
|
||||||
.Fa ai_protocol
|
.Fa ai_protocol .
|
||||||
in each returned
|
|
||||||
.Li addrinfo
|
|
||||||
structure are suitable for a call to
|
|
||||||
.Xr socket 2 .
|
|
||||||
For each
|
For each
|
||||||
.Li addrinfo
|
.Li addrinfo
|
||||||
structure in the list, the
|
structure in the list, the
|
||||||
|
|||||||
Reference in New Issue
Block a user