chmod.2: Put fchmod() feature test macro requirements in a more readable format

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-06-16 10:20:15 +02:00
parent 45375b20ec
commit 7d34a794ee
1 changed files with 13 additions and 5 deletions

View File

@ -56,11 +56,19 @@ Feature Test Macro Requirements for glibc (see
.PD 0 .PD 0
.BR fchmod (): .BR fchmod ():
.RS 4 .RS 4
/* Since glibc 2.16: */ _POSIX_C_SOURCE Glibc 2.19 to 2.23
|| /* Glibc versions <= 2.19: */ _BSD_SOURCE _POSIX_C_SOURCE
|| /* Glibc versions <= 2.15: */ _XOPEN_SOURCE\ >=\ 500 .PP
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED Glibc 2.16 to 2.19:
|| /* Glibc 2.12 to 2.15: */ _POSIX_C_SOURCE\ >=\ 200809L _BSD_SOURCE || _POSIX_C_SOURCE
.PP
Glibc 2.12 to 2.16:
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
_POSIX_C_SOURCE >= 200809L
.PP
Glibc 2.11 and earlier:
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
.\" || (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED)
.RE .RE
.PD .PD
.sp .sp