aboutsummaryrefslogtreecommitdiffstats
path: root/man3/trunc.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-07-08 12:11:40 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-07-08 12:11:40 +0000
commitcc4615cc788aa749f34483abd33ba2b4a31d30f0 (patch)
tree97070128f611af532551a19bb8062597b22cabd8 /man3/trunc.3
parent86c256953d62ba083f7ef6adcc5b4063f0b51d2b (diff)
downloadman-pages-cc4615cc788aa749f34483abd33ba2b4a31d30f0.tar.gz
Added/updated glibc feature test macro requirements
Diffstat (limited to 'man3/trunc.3')
-rw-r--r--man3/trunc.317
1 files changed, 15 insertions, 2 deletions
diff --git a/man3/trunc.3 b/man3/trunc.3
index 30b9e89a0e..1861ff6edb 100644
--- a/man3/trunc.3
+++ b/man3/trunc.3
@@ -20,7 +20,7 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
-.TH TRUNC 3 2001-05-31 "" "Linux Programmer's Manual"
+.TH TRUNC 3 2007-07-26 "" "Linux Programmer's Manual"
.SH NAME
trunc, truncf, truncl \- round to integer, towards zero
.SH SYNOPSIS
@@ -34,7 +34,20 @@ trunc, truncf, truncl \- round to integer, towards zero
.BI "long double truncl(long double " x );
.fi
.sp
-Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
+Link with \fI\-lm\fP.
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.ad l
+.BR trunc (),
+.BR truncf (),
+.BR truncl ():
+_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
+.I cc\ -std=c99
+.ad b
.SH DESCRIPTION
These functions round \fIx\fP to the nearest integer
not larger in absolute value.