Skip to contentSkip to conversation

Changes for getaddrinfio()

PATCH Orion Poplawski 1 participant 1 message Aug 12, 2015 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

See https://sourceware.org/bugzilla/show_bug.cgi?id=18529

The declarations needed to expose getaddrinfo() have changed. New requirements are:

  _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600
man3/getaddrinfo.3 +1 -1
index 7bf815a..427f062 100644
@@ -70,7 +70,7 @@ Feature Test Macro Requirements for glibc (see
 .BR freeaddrinfo (),
 .BR gai_strerror ():
 .RS 4
-_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
+_POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE >= 600
 .RE
 .ad b
 .SH DESCRIPTION
man3/getnameinfo.3 +1 -1
index 0dc1d29..1fe8585 100644
@@ -27,7 +27,7 @@ Feature Test Macro Requirements for glibc (see
 .in
 .sp
 .BR getnameinfo ():
-_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
+_POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE >= 600
 .ad b
 .SH DESCRIPTION
 The
Signature · 9 lines
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       [email protected]
Boulder, CO 80301                   http://www.nwra.com
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html