getaddrinfo.3, getnameinfo.3: Fix some confused references to function names

See https://bugzilla.kernel.org/show_bug.cgi?id=52741

Reported-by: Peter Budny <bigpeteb@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-01-15 20:31:01 +01:00
parent bae854080e
commit 1d8d141ab6
2 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@
.\" FIXME . glibc's 2.9 NEWS file documents DCCP and UDP-lite support
.\" and is SCTP support now also there?
.\"
.TH GETADDRINFO 3 2012-04-29 "GNU" "Linux Programmer's Manual"
.TH GETADDRINFO 3 2013-01-15 "GNU" "Linux Programmer's Manual"
.SH NAME
getaddrinfo, freeaddrinfo, gai_strerror \- network address and
service translation
@ -91,7 +91,7 @@ function combines the functionality provided by the
.\" .BR getipnodebyaddr (3),
.BR getservbyname (3)
and
.BR getservbyport (3)
.BR getservbyname (3)
functions into a single interface, but unlike the latter functions,
.BR getaddrinfo ()
is reentrant and allows programs to eliminate IPv4-versus-IPv6 dependencies.

View File

@ -4,7 +4,7 @@
.\" 2004-12-14, mtk, Added EAI_OVERFLOW error
.\" 2004-12-14 Fixed description of error return
.\"
.TH GETNAMEINFO 3 2012-08-05 "GNU" "Linux Programmer's Manual"
.TH GETNAMEINFO 3 2013-01-15 "GNU" "Linux Programmer's Manual"
.SH NAME
getnameinfo \- address-to-name translation in protocol-independent manner
.SH SYNOPSIS
@ -38,7 +38,7 @@ It combines the functionality of
and
.BR getservbyport (3),
but unlike those functions,
.BR getaddrinfo (3)
.BR getnameinfo (3)
is reentrant and allows programs to eliminate
IPv4-versus-IPv6 dependencies.
@ -111,7 +111,7 @@ cannot be determined.)
If set, then the numeric form of the service address is returned.
(When not set, this will still happen in case the service's name
cannot be determined.)
.SS "Extensions to getaddrinfo() for Internationalized Domain Names"
.SS "Extensions to getnameinfo() for Internationalized Domain Names"
.PP
Starting with glibc 2.3.4,
.BR getnameinfo ()