mirror of https://github.com/mkerrisk/man-pages
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:
parent
45375b20ec
commit
7d34a794ee
18
man2/chmod.2
18
man2/chmod.2
|
@ -56,11 +56,19 @@ Feature Test Macro Requirements for glibc (see
|
|||
.PD 0
|
||||
.BR fchmod ():
|
||||
.RS 4
|
||||
/* Since glibc 2.16: */ _POSIX_C_SOURCE
|
||||
|| /* Glibc versions <= 2.19: */ _BSD_SOURCE
|
||||
|| /* Glibc versions <= 2.15: */ _XOPEN_SOURCE\ >=\ 500
|
||||
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
||||
|| /* Glibc 2.12 to 2.15: */ _POSIX_C_SOURCE\ >=\ 200809L
|
||||
Glibc 2.19 to 2.23
|
||||
_POSIX_C_SOURCE
|
||||
.PP
|
||||
Glibc 2.16 to 2.19:
|
||||
_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
|
||||
.PD
|
||||
.sp
|
||||
|
|
Loading…
Reference in New Issue