Skip to contentSkip to conversation

mkstemp: fix _POSIX_C_SOURCE value for mkstemp()

PATCH New Quentin Rameau 1 participant 1 message Jul 1, 2016 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mkstemp: fix _POSIX_C_SOURCE value for mkstemp()

The correct _POSIX_C_SOURCE value has always been 200809L, not 200112L

---
 man3/mkstemp.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man3/mkstemp.3 +1 -1
index 8fcd608..d1d4805 100644
@@ -59,7 +59,7 @@ Feature Test Macro Requirements for glibc (see
 .PD 0
 _XOPEN_SOURCE\ >=\ 500
 .\"    || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
-    || /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200112L
+    || /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
     || /* Glibc versions <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE
 .PD
 .RE
Signature · 6 lines
2.9.0

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