aboutsummaryrefslogtreecommitdiffstats
path: root/man7/feature_test_macros.7
diff options
context:
space:
mode:
Diffstat (limited to 'man7/feature_test_macros.7')
-rw-r--r--man7/feature_test_macros.734
1 files changed, 17 insertions, 17 deletions
diff --git a/man7/feature_test_macros.7 b/man7/feature_test_macros.7
index 85a42f7fed..1dc3ff639f 100644
--- a/man7/feature_test_macros.7
+++ b/man7/feature_test_macros.7
@@ -179,7 +179,7 @@ plus the XSI extension) and C99 definitions.
.TP
.B _XOPEN_SOURCE_EXTENDED
If this macro is defined, and
-.BR _XOPEN_SOURCE
+.B _XOPEN_SOURCE
is defined, then expose definitions corresponding to the XPG4v2
(SUSv1) UNIX extensions (UNIX 95).
This macro is also implicitly defined if
@@ -211,7 +211,7 @@ versus
.BR lseek (),
etc.).
New programs should not employ this interface; instead
-.IR _FILE_OFFSET_BITS=64
+.I _FILE_OFFSET_BITS=64
should be employed.
.TP
.B _FILE_OFFSET_BITS
@@ -237,7 +237,7 @@ some situations where standards conflict, unless one or more of
.BR _XOPEN_SOURCE ,
.BR _XOPEN_SOURCE_EXTENDED ,
or
-.BR _GNU_SOURCE
+.B _GNU_SOURCE
is defined, in which case BSD definitions are disfavored.
.TP
.B _SVID_SOURCE
@@ -261,11 +261,11 @@ Defining this macro (with any value) is equivalent to defining
.BR _ISOC99_SOURCE ,
.BR _XOPEN_SOURCE_EXTENDED ,
.BR _POSIX_SOURCE ,
-.BR _POSIX_C_SOURCE
+.B _POSIX_C_SOURCE
with the value 200112L (199506L in glibc versions before 2.5),
.\" 199309L in glibc versions before 2.1
and
-.BR _XOPEN_SOURCE
+.B _XOPEN_SOURCE
with the value 600 (500 in glibc versions before 2.2).
In addition, various GNU-specific extensions are also exposed.
Where standards conflict, BSD definitions are disfavored.
@@ -347,22 +347,22 @@ If any of
.BR _XOPEN_SOURCE_EXTENDED ,
.BR _BSD_SOURCE ,
or
-.BR _SVID_SOURCE
+.B _SVID_SOURCE
is explicitly defined, then
.BR _BSD_SOURCE ,
and
-.BR _SVID_SOURCE
+.B _SVID_SOURCE
are not defined by default.
If
-.BR _POSIX_SOURCE
+.B _POSIX_SOURCE
and
-.BR _POSIX_C_SOURCE
+.B _POSIX_C_SOURCE
are not explicitly defined,
and either
-.BR __STRICT_ANSI__
+.B __STRICT_ANSI__
is not defined or
-.BR _XOPEN_SOURCE
+.B _XOPEN_SOURCE
is defined with a value of 500 or more, then
.RS 6
.IP * 3
@@ -375,18 +375,18 @@ is defined with one of the following values:
.IP \(bu 3
2,
if
-.BR XOPEN_SOURCE
+.B XOPEN_SOURCE
is defined with a value less than 500;
.IP \(bu
199506L,
if
-.BR XOPEN_SOURCE
+.B XOPEN_SOURCE
is defined with a value greater than or equal to 500 and less than 600;
or
.IP \(bu
200112L (199506L in glibc versions before 2.4),
if
-.BR XOPEN_SOURCE
+.B XOPEN_SOURCE
is undefined, or
is defined with a value greater than or equal to 600.
.RE
@@ -399,10 +399,10 @@ POSIX.1 specifies
.BR _POSIX_SOURCE ,
and
.BR _XOPEN_SOURCE .
-.BR _XOPEN_SOURCE_EXTENDED
+.B _XOPEN_SOURCE_EXTENDED
was specified by XPG4v2 (aka SUSv1).
-.BR _FILE_OFFSET_BITS
+.B _FILE_OFFSET_BITS
is not specified by any standard,
but is employed on some other implementations.
@@ -413,7 +413,7 @@ but is employed on some other implementations.
.BR _FORTIFY_SOURCE ,
.BR _REENTRANT ,
and
-.BR _THREAD_SAFE
+.B _THREAD_SAFE
are Linux (glibc) specific.
.SH NOTES
.I <features.h>