Re: [PATCH] fenv.3: ATTRIBUTES: Note functions that are thread-safe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks. Applied!

Cheers,

Michael



On Tue, Apr 1, 2014 at 11:48 AM, Peng Haitao <penght@xxxxxxxxxxxxxx> wrote:
> 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
>



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux