feature_test_macros.7: Remove mention of bogus _ISOC95_SOURCE macro

The _ISOC95_SOURCE macro is defined in <features.h>, but it
does nothing. So remove discussion of it, and move some of
the discussion of C95 under the ISOC99_SOURCE subhead.

Reported-by: Joseph S. Myers <joseph@codesourcery.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-03-13 09:15:34 +01:00
parent c7c46d4f7d
commit cfba52fc5b
1 changed files with 6 additions and 10 deletions

View File

@ -243,23 +243,19 @@ This macro is also implicitly defined if
.B _XOPEN_SOURCE
is defined with a value of 500 or more.
.TP
.BR _ISOC95_SOURCE " (since glibc 2.12)"
Exposes ISO C (1990) Amendment 1 definitions (also known as C95).
The primary change in C95 was support for international character sets.
The C95 changes were included in the subsequent C99 standard
(in other words,
.B _ISOC99_SOURCE
implies
.BR _ISOC95_SOURCE ).
.TP
.BR _ISOC99_SOURCE " (since glibc 2.1.3)"
Exposes C99 (and C95) extensions to ISO C (1990).
Exposes C99 extensions to ISO C (1990).
Earlier glibc 2.1.x versions recognized an equivalent macro named
.B _ISOC9X_SOURCE
(because the C99 standard had not then been finalized).
Although the use of this macro is obsolete, glibc continues
to recognize it for backward compatibility.
Defining
.B _ISOC99_SOURCE
also exposes ISO C (1990) Amendment 1 ("C95") definitions.
(The primary change in C95 was support for international character sets.)
.TP
.BR _ISOC11_SOURCE " (since glibc 2.16)"
Exposes declarations consistent with the ISO C11 standard.