aboutsummaryrefslogtreecommitdiffstats
path: root/man7/feature_test_macros.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-02-12 20:12:46 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-03-01 20:01:04 +0100
commit38d9e98ea32b698b24681b94ccd60a24185d3ac1 (patch)
tree31aa9911272e8d19045694cbfbfdf43df0693abd /man7/feature_test_macros.7
parent9db90c7cc98c4630a7682895643f119c575a494e (diff)
downloadman-pages-38d9e98ea32b698b24681b94ccd60a24185d3ac1.tar.gz
feature_test_macros.7: Give an early hint about some macros being defined by default
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/feature_test_macros.7')
-rw-r--r--man7/feature_test_macros.76
1 files changed, 6 insertions, 0 deletions
diff --git a/man7/feature_test_macros.7 b/man7/feature_test_macros.7
index d8c6134c95..527bf733cb 100644
--- a/man7/feature_test_macros.7
+++ b/man7/feature_test_macros.7
@@ -139,6 +139,12 @@ The macros that you most likely need to use in modern source code are
.BR _DEFAULT_SOURCE
(to get definitions that would normally be provided by default).
.IP *
+Certain macros are defined with default values.
+Thus, although one or more macros may be indicated as being
+required in the SYNOPSIS of a man page,
+it may not be necessary to define them explicitly.
+Full details of the defaults are given later in this man page.
+.IP *
Defining
.BR _XOPEN_SOURCE
with a value of 600 or greater produces the same effects as defining