Re: [PATCH] ctime.3: ATTRIBUTES: Note functions thoes aren't thread-safe

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

 



Hi,

Sorry for the bother. Please *ignore* these patches. I have sent new
correct versions just a moment ago.

Best regards,
Zeng

On Wed, 2015-04-01 at 18:13 +0800, Zeng Linggang wrote:
> The markings match glibc markings.
> 
> Signed-off-by: Zeng Linggang <zenglg.jy@xxxxxxxxxxxxxx>
> Signed-off-by: Ma Shimiao <mashimiao.fnst@xxxxxxxxxxxxxx>
> ---
>  man3/ctime.3 | 33 +++++++++++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
> 
> diff --git a/man3/ctime.3 b/man3/ctime.3
> index b127716..c5959d1 100644
> --- a/man3/ctime.3
> +++ b/man3/ctime.3
> @@ -279,6 +279,39 @@ Each of these functions returns the value described, or NULL
>  (\-1 in case of
>  .BR mktime ())
>  in case an error was detected.
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lbw14 lb lbw31
> +l l l.
> +Interface	Attribute	Value
> +T{
> +.BR asctime ()
> +T}	Thread safety	MT-Unsafe race:asctime locale
> +T{
> +.BR asctime_r ()
> +T}	Thread safety	MT-Safe locale
> +T{
> +.BR ctime ()
> +T}	Thread safety	T{
> +MT-Unsafe race:tmbuf
> +.br
> +race:asctime env locale
> +T}
> +T{
> +.BR ctime_r (),
> +.BR gmtime_r (),
> +.BR localtime_r (),
> +.BR mktime ()
> +T}	Thread safety	MT-Safe env locale
> +T{
> +.BR gmtime (),
> +.BR localtime ()
> +T}	Thread safety	MT-Unsafe race:tmbuf env locale
> +.TE
> +
>  .SH CONFORMING TO
>  POSIX.1-2001.
>  C89 and C99 specify


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