]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
chmod.2: Put fchmod() feature test macro requirements in a more readable format
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 16 Jun 2017 08:20:15 +0000 (10:20 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 16 Jun 2017 09:42:44 +0000 (11:42 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/chmod.2

index 556788cd138693eb8b934da151101c88ee47944e..161e11b4bfd236460ef19865a49339cf6e1831ac 100644 (file)
@@ -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