Skip to contentSkip to conversation

getaddrinfo.3: Fix _POSIX_C_SOURCE value for getaddrinfo()

PATCH In review Quentin Rameau 2 participants 3 messages Jun 9, 2017 – Jun 11, 2017 2 messages not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 getaddrinfo.3: Fix _POSIX_C_SOURCE value for getaddrinfo()

The correct _POSIX_C_SOURCE value is 200112L, not 201112L in features.h.

---
 man3/getaddrinfo.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man3/getaddrinfo.3 +1 -1
index f058e5a80..2f89c099b 100644
@@ -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
Signature · 6 lines
2.13.1

--
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

A message that is not in the archive (sent off-list or not yet received): 20170609230020.GA62868-lvRy8M+iZ/[email protected]

#2 lore raw
Quoted 1 line · Quentin Rameau

The correct _POSIX_C_SOURCE value is 200112L, not 201112L in features.h.

Thank you Quentin. Applied.

Cheers,

Michael

Quoted 18 lines
---
 man3/getaddrinfo.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man3/getaddrinfo.3 +1 -1
index f058e5a80..2f89c099b 100644
@@ -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
Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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

A message that is not in the archive (sent off-list or not yet received): 8dd2d453-b85c-4068-8dd9-c585f341a701-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org