wait4.2, endian.3, isalpha.3, unlocked_stdio.3: Minor consistency fix for Feature Test Macro info

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-12-31 11:04:34 +01:00
parent ea40ab1199
commit 9834f61da2
4 changed files with 7 additions and 1 deletions

View File

@ -57,7 +57,7 @@ Feature Test Macro Requirements for glibc (see
Since glibc 2.26:
_DEFAULT_SOURCE ||
(_XOPEN_SOURCE\ >=\ 500 &&
! (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600))
! (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600))
From glibc 2.19 to 2.25:
_DEFAULT_SOURCE || _XOPEN_SOURCE\ >=\ 500
Glibc 2.19 and earlier:

View File

@ -53,6 +53,7 @@ convert values between host and big-/little-endian byte order
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.ad l
.RE
.PP
.BR htobe16 (),
@ -73,6 +74,7 @@ Feature Test Macro Requirements for glibc (see
In glibc up to and including 2.19:
_BSD_SOURCE
.fi
.ad
.SH DESCRIPTION
These functions convert the byte encoding of integer values from
the byte order that the current CPU (the "host") uses,

View File

@ -87,6 +87,7 @@ _XOPEN_SOURCE
.RS 4
_ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
.RE
.nh
.PP
.BR isalnum_l (),
.BR isalpha_l (),
@ -100,6 +101,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
.BR isspace_l (),
.BR isupper_l (),
.BR isxdigit_l ():
.hy
.PD 0
.RS 4
.TP

View File

@ -66,6 +66,7 @@ putchar_unlocked \- nonlocking stdio functions
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.ad l
.nh
.RE
.PP
.BR getc_unlocked (),
@ -104,6 +105,7 @@ Feature Test Macro Requirements for glibc (see
.RS 4
_GNU_SOURCE
.RE
.hy
.ad b
.SH DESCRIPTION
Each of these functions has the same behavior as its counterpart