mirror of https://github.com/mkerrisk/man-pages
finite.3: ATTRIBUTES: Note functions that are thread-safe
The functions finite(), finitef(), finitel(), isinf(), isinff(), isinfl(), isnan(), isnanf() and isnanl() are thread safe. Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
1e88bbc083
commit
77aa3ddceb
|
@ -22,7 +22,7 @@
|
||||||
.\" the source, must acknowledge the copyright and authors of this work.
|
.\" the source, must acknowledge the copyright and authors of this work.
|
||||||
.\" %%%LICENSE_END
|
.\" %%%LICENSE_END
|
||||||
.\"
|
.\"
|
||||||
.TH FINITE 3 2008-08-05 "" "Linux Programmer's Manual"
|
.TH FINITE 3 2013-07-22 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl \-
|
finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl \-
|
||||||
BSD floating-point classification functions
|
BSD floating-point classification functions
|
||||||
|
@ -109,6 +109,20 @@ functions return 1 if
|
||||||
is positive infinity, \-1 if
|
is positive infinity, \-1 if
|
||||||
.I x
|
.I x
|
||||||
is negative infinity, and 0 otherwise.
|
is negative infinity, and 0 otherwise.
|
||||||
|
.SH ATTRIBUTES
|
||||||
|
.SS Multithreading (see pthreads(7))
|
||||||
|
The
|
||||||
|
.BR finite (),
|
||||||
|
.BR finitef (),
|
||||||
|
.BR finitel (),
|
||||||
|
.BR isinf (),
|
||||||
|
.BR isinff (),
|
||||||
|
.BR isinfl (),
|
||||||
|
.BR isnan (),
|
||||||
|
.BR isnanf (),
|
||||||
|
and
|
||||||
|
.BR isnanl ()
|
||||||
|
functions are thread-safe.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
Note that these functions are obsolete.
|
Note that these functions are obsolete.
|
||||||
C99 defines macros
|
C99 defines macros
|
||||||
|
|
Loading…
Reference in New Issue