The functions feclearexcept(), fegetexceptflag(), feraiseexcept(), fesetexceptflag(), fetestexcept(), fegetround(), fesetround(), fegetenv(), feholdexcept(), fesetenv(), feupdateenv(), feenableexcept(), fedisableexcept() and fegetexcept() are thread safe. Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx> --- man3/fenv.3 | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/man3/fenv.3 b/man3/fenv.3 index 270f754..1f55ff9 100644 --- a/man3/fenv.3 +++ b/man3/fenv.3 @@ -24,7 +24,7 @@ .\" 2000-08-14 added GNU additions from Andreas Jaeger .\" 2000-12-05 some changes inspired by acahalan's remarks .\" -.TH FENV 3 2010-10-31 "Linux" "Linux Programmer's Manual" +.TH FENV 3 2014-04-01 "Linux" "Linux Programmer's Manual" .SH NAME feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, fetestexcept, fegetenv, fegetround, feholdexcept, fesetround, @@ -262,6 +262,25 @@ These functions return zero on success and nonzero if an error occurred. .\" of the C99 Standard. .SH VERSIONS These functions first appeared in glibc in version 2.1. +.SH ATTRIBUTES +.SS Multithreading (see pthreads(7)) +The +.BR feclearexcept (), +.BR fegetexceptflag (), +.BR fegetexceptflag (), +.BR fesetexceptflag (), +.BR fetestexcept (), +.BR fegetround (), +.BR fesetround (), +.BR fegetenv (), +.BR feholdexcept (), +.BR fesetenv (), +.BR feupdateenv (), +.BR feenableexcept (), +.BR fedisableexcept (), +and +.BR fegetexcept () +functions are thread-safe. .SH CONFORMING TO IEC 60559 (IEC 559:1989), ANSI/IEEE 854, C99, POSIX.1-2001. .SH NOTES -- 1.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html