aboutsummaryrefslogtreecommitdiffstats
path: root/man3/lrint.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/lrint.3
parent86c256953d62ba083f7ef6adcc5b4063f0b51d2b (diff)
downloadman-pages-cc4615cc788aa749f34483abd33ba2b4a31d30f0.tar.gz
Added/updated glibc feature test macro requirements
Diffstat (limited to 'man3/lrint.3')
-rw-r--r--man3/lrint.315
1 files changed, 13 insertions, 2 deletions
diff --git a/man3/lrint.3 b/man3/lrint.3
index eb8d8e4569..3de530c222 100644
--- a/man3/lrint.3
+++ b/man3/lrint.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 LRINT 3 2001-05-31 "" "Linux Programmer's Manual"
+.TH LRINT 3 2007-07-26 "" "Linux Programmer's Manual"
.SH NAME
lrint, lrintf, lrintl, llrint, llrintf, llrintl \- round to nearest integer
.SH SYNOPSIS
@@ -40,7 +40,18 @@ lrint, lrintf, lrintl, llrint, llrintf, llrintl \- round to nearest integer
.BI "long long int llrintl(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
+All functions shown above:
+_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
+.I cc\ -std=c99
+.ad b
.SH DESCRIPTION
These functions round their argument to the nearest integer value,
using the current rounding direction.