public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] getaddrinfo.3: Fix _POSIX_C_SOURCE value for getaddrinfo()
@ 2017-06-09 23:00 Quentin Rameau
       [not found] ` <20170609230020.GA62868-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Quentin Rameau @ 2017-06-09 23:00 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

The correct _POSIX_C_SOURCE value is 200112L, not 201112L in features.h.
---
 man3/getaddrinfo.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3
index f058e5a80..2f89c099b 100644
--- a/man3/getaddrinfo.3
+++ b/man3/getaddrinfo.3
@@ -69,7 +69,7 @@ Feature Test Macro Requirements for glibc (see
 .BR getaddrinfo (),
 .BR freeaddrinfo (),
 .BR gai_strerror ():
-    Since glibc 2.22: _POSIX_C_SOURCE >= 201112L
+    Since glibc 2.22: _POSIX_C_SOURCE >= 200112L
     Glibc 2.21 and earlier: _POSIX_C_SOURCE
 .ad b
 .SH DESCRIPTION
-- 
2.13.1

--
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] 3+ messages in thread

end of thread, other threads:[~2017-06-11 11:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-09 23:00 [PATCH] getaddrinfo.3: Fix _POSIX_C_SOURCE value for getaddrinfo() Quentin Rameau
     [not found] ` <20170609230020.GA62868-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org>
2017-06-11  6:15   ` Michael Kerrisk (man-pages)
     [not found]     ` <8dd2d453-b85c-4068-8dd9-c585f341a701-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-11 11:18       ` Quentin Rameau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox