Re: [PATCH] mktemp.3: ATTRIBUTES: Note function that is thread-safe

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

 



Hello Haitao,

Looks good.

For now, I am going to queue these patches in a local branch, which I'll release
as we starte to make progress on the attributes(7) page and the reworking of the
existing pages to the new form.

Cheers,

Michael



On 06/18/2014 07:48 AM, Peng Haitao wrote:
> The function mktemp() is thread safe.
> 
> Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx>
> ---
>  man3/mktemp.3 | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/man3/mktemp.3 b/man3/mktemp.3
> index 129757e..ca661cb 100644
> --- a/man3/mktemp.3
> +++ b/man3/mktemp.3
> @@ -92,6 +92,18 @@ is set to indicate the error.
>  .TP
>  .B EINVAL
>  The last six characters of \fItemplate\fP were not XXXXXX.
> +.SH ATTRIBUTES
> +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 mktemp ()
> +T}	Thread safety	MT-Safe
> +.TE
>  .SH CONFORMING TO
>  4.3BSD, POSIX.1-2001.
>  POSIX.1-2008 removes the specification of
> 


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