All of lore.kernel.org
 help / color / mirror / Atom feed
* Changes for getaddrinfio()
@ 2015-08-12 16:08 Orion Poplawski
  0 siblings, 0 replies; only message in thread
From: Orion Poplawski @ 2015-08-12 16:08 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

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

diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3
index 7bf815a..427f062 100644
--- a/man3/getaddrinfo.3
+++ b/man3/getaddrinfo.3
@@ -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
diff --git a/man3/getnameinfo.3 b/man3/getnameinfo.3
index 0dc1d29..1fe8585 100644
--- a/man3/getnameinfo.3
+++ b/man3/getnameinfo.3
@@ -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


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion-CfuHcwXVrUc@public.gmane.org
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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-12 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-12 16:08 Changes for getaddrinfio() Orion Poplawski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.