aboutsummaryrefslogtreecommitdiffstats
path: root/man2/truncate.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/truncate.2')
-rw-r--r--man2/truncate.27
1 files changed, 4 insertions, 3 deletions
diff --git a/man2/truncate.2 b/man2/truncate.2
index 5f7ecb67ae..5f025e6f33 100644
--- a/man2/truncate.2
+++ b/man2/truncate.2
@@ -61,18 +61,19 @@ Feature Test Macro Requirements for glibc (see
.sp
.BR truncate ():
.RS 4
-_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+_XOPEN_SOURCE\ >=\ 500
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.br
|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
+ || /* Glibc versions <= 2.19: */ _BSD_SOURCE
.RE
.sp
.BR ftruncate ():
.RS 4
-_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+_XOPEN_SOURCE\ >=\ 500
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
-.br
|| /* Since glibc 2.3.5: */ _POSIX_C_SOURCE\ >=\ 200112L
+ || /* Glibc versions <= 2.19: */ _BSD_SOURCE
.RE
.PD
.ad b