aboutsummaryrefslogtreecommitdiffstats
path: root/man7/feature_test_macros.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-02-12 12:46:31 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-03-01 20:01:04 +0100
commitf04d68ba16f9a1f650ab75b3514c3436c6c8b794 (patch)
treea54712cdeeebd38e733e630b8536cd0aed27b9e6 /man7/feature_test_macros.7
parente9d91bcf4c15696e4f2009785f821b0ec26f24ad (diff)
downloadman-pages-f04d68ba16f9a1f650ab75b3514c3436c6c8b794.tar.gz
feature_test_macros.7: Clarify some _ISOC99_SOURCE / _DEFAULT_SOURCE details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/feature_test_macros.7')
-rw-r--r--man7/feature_test_macros.712
1 files changed, 7 insertions, 5 deletions
diff --git a/man7/feature_test_macros.7 b/man7/feature_test_macros.7
index dde6f0fbbe..485ac9e8b7 100644
--- a/man7/feature_test_macros.7
+++ b/man7/feature_test_macros.7
@@ -221,9 +221,11 @@ definitions for POSIX.1c (threads).
.IP \(bu
(Since glibc 2.3.3)
The value 200112L or greater additionally exposes definitions corresponding
-to the POSIX.1-2001 base specification (excluding the XSI extension)
-and also causes C95 (since glibc 2.12) and
-C99 (since glibc 2.10) features to be exposed.
+to the POSIX.1-2001 base specification (excluding the XSI extension).
+This value also causes C95 (since glibc 2.12) and
+C99 (since glibc 2.10) features to be exposed
+(in other words, the equivalent of defining
+.BR _ISOC99_SOURCE ).
.IP \(bu
(Since glibc 2.10)
The value 200809L or greater additionally exposes definitions corresponding
@@ -458,8 +460,8 @@ Defining
without defining other individual macros
or invoking the compiler in one of its "standard" modes has no effect.
-The "default" definitions comprise those required by POSIX.1-2008
-as well as various definitions derived from BSD and System V.
+The "default" definitions comprise those required by POSIX.1-2008 and ISO C99,
+as well as various definitions originally derived from BSD and System V.
On glibc 2.19 and earlier, these defaults were approximately equivalent
to explicitly defining the following: