getaddrinfo.3: wfix: s/result/res/ in text describing argument

Reported-by: rui rlex <rui.rlex@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2009-09-15 05:49:09 +02:00
parent add478c172
commit 19f56c70d3
1 changed files with 3 additions and 3 deletions

View File

@ -372,7 +372,7 @@ If
includes the
.B AI_ADDRCONFIG
flag, then IPv4 addresses are returned in the list pointed to by
.I result
.I res
only if the local system has at least one
IPv4 address configured, and IPv6 addresses are only returned
if the local system has at least one IPv6 address configured.
@ -387,7 +387,7 @@ was specified as
.BR AF_INET6 ,
and no matching IPv6 addresses could be found,
then return IPv4-mapped IPv6 addresses in the list pointed to by
.IR result .
.IR res .
If both
.B AI_V4MAPPED
and
@ -396,7 +396,7 @@ are specified in
.IR hints.ai_family ,
then return both IPv6 and IPv4-mapped IPv6 addresses
in the list pointed to by
.IR result .
.IR res .
.B AI_ALL
is ignored if
.B AI_V4MAPPED