From 1d8d141ab64a92dbd52ac8b531f60c1fefc1048a Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 15 Jan 2013 20:31:01 +0100 Subject: [PATCH] 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 Signed-off-by: Michael Kerrisk --- man3/getaddrinfo.3 | 4 ++-- man3/getnameinfo.3 | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3 index a573327ab..dc6b44194 100644 --- a/man3/getaddrinfo.3 +++ b/man3/getaddrinfo.3 @@ -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. diff --git a/man3/getnameinfo.3 b/man3/getnameinfo.3 index f1001cd81..5bafd76f7 100644 --- a/man3/getnameinfo.3 +++ b/man3/getnameinfo.3 @@ -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 ()