summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Haitao <penght@cn.fujitsu.com>2013-08-26 17:06:56 +0800
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-09-02 07:36:43 +0200
commit36981c13b9f5f04cef508c173feb4a609ae6311f (patch)
tree5bb7f00d9cb4c7dc5c9d4a925143095bcbb50d07
parented0b5a78072fc6aebe013669801019ada559983d (diff)
rint.3: ATTRIBUTES: Note functions that are thread-safe
The functions nearbyint(), nearbyintf(), nearbyintl(), rint(), rintf() and rintl() are thread safe. Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/rint.313
1 files changed, 12 insertions, 1 deletions
diff --git a/man3/rint.3 b/man3/rint.3
index 8dde6bc9..8bb9ba88 100644
--- a/man3/rint.3
+++ b/man3/rint.3
@@ -24,7 +24,7 @@
.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
-.TH RINT 3 2010-09-20 "" "Linux Programmer's Manual"
+.TH RINT 3 2013-08-26 "" "Linux Programmer's Manual"
.SH NAME
nearbyint, nearbyintf, nearbyintl, rint, rintf, rintl \- round
to nearest integer
@@ -113,6 +113,17 @@ itself is returned.
.SH ERRORS
No errors occur.
POSIX.1-2001 documents a range error for overflows, but see NOTES.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR nearbyint (),
+.BR nearbyintf (),
+.BR nearbyintl (),
+.BR rint (),
+.BR rintf (),
+and
+.BR rintl ()
+functions are thread-safe.
.SH CONFORMING TO
C99, POSIX.1-2001.
.SH NOTES