diff options
Diffstat (limited to 'man3/trunc.3')
| -rw-r--r-- | man3/trunc.3 | 17 |
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. |
