Re: [PATCH] tmpnam.3: Reformat thread-safety information

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

 



Thank you, Haitao. Applied.

Best regards,

Michael

On 07/14/2014 10:36 AM, Peng Haitao wrote:
> Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx>
> ---
>  man3/tmpnam.3 | 19 ++++++++++++-------
>  1 file changed, 12 insertions(+), 7 deletions(-)
> 
> diff --git a/man3/tmpnam.3 b/man3/tmpnam.3
> index 869ca3c..0371d79 100644
> --- a/man3/tmpnam.3
> +++ b/man3/tmpnam.3
> @@ -84,15 +84,20 @@ filename, or NULL if a unique name cannot be generated.
>  .SH ERRORS
>  No errors are defined.
>  .SH ATTRIBUTES
> -.SS Multithreading (see pthreads(7))
> -The
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lb lb lb
> +l l l.
> +Interface	Attribute	Value
> +T{
>  .BR tmpnam ()
> -function is thread-safe with exceptions.
> -It is not thread-safe if called with a NULL parameter.
> -.LP
> -The
> +T}	Thread safety	MT-Safe /!s
> +T{
>  .BR tmpnam_r ()
> -function is thread-safe.
> +T}	Thread safety	MT-Safe
> +.TE
>  .SH CONFORMING TO
>  SVr4, 4.3BSD, C89, C99, POSIX.1-2001.
>  POSIX.1-2008 marks
> 


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