Re: [PATCH] drand48_r.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 09.09.2013 08:15, Peng Haitao wrote:
> The functions drand48_r(), erand48_r(), lrand48_r(),
> nrand48_r(), mrand48_r(), jrand48_r(), srand48_r(), seed48_r(),
> and lcong48_r() are thread safe.
> 
> Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx>
> ---
>  man3/drand48_r.3 | 16 +++++++++++++++-
>  1 file changed, 15 insertions(+), 1 deletion(-)
> 
> diff --git a/man3/drand48_r.3 b/man3/drand48_r.3
> index 118a98d..30b85f3 100644
> --- a/man3/drand48_r.3
> +++ b/man3/drand48_r.3
> @@ -24,7 +24,7 @@
>  .\"
>  .\" Created 2004-10-31. Text taken from a page by Walter Harms, 2003-09-08
>  .\"
> -.TH DRAND48_R 3 2007-07-26 "GNU" "Linux Programmer's Manual"
> +.TH DRAND48_R 3 2013-09-09 "GNU" "Linux Programmer's Manual"
>  .SH NAME
>  drand48_r, erand48_r, lrand48_r, nrand48_r, mrand48_r, jrand48_r,
>  srand48_r, seed48_r, lcong48_r
> @@ -95,6 +95,20 @@ or
>  .BR lcong48_r ().
>  .SH RETURN VALUE
>  The return value is 0.
> +.SH ATTRIBUTES
> +.SS Multithreading (see pthreads(7))
> +The
> +.BR drand48_r (),
> +.BR erand48_r (),
> +.BR lrand48_r (),
> +.BR nrand48_r (),
> +.BR mrand48_r (),
> +.BR jrand48_r (),
> +.BR srand48_r (),
> +.BR seed48_r (),
> +and
> +.BR lcong48_r ()
> +functions are thread-safe.
>  .SH CONFORMING TO
>  These functions are GNU extensions and are not portable.
>  .SH SEE ALSO
> 

--
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