Re: [PATCH] utimensat.2: ATTRIBUTES: Note functions that are thread-safe

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

 



On 05/20/2015 12:00 PM, Zeng Linggang wrote:
> After research, We think utimensat() and futimens() are thread-safe.
> But, there are not markings of utimensat() and futimens() in glibc
> document.
> 
> Signed-off-by: Zeng Linggang <zenglg.jy@xxxxxxxxxxxxxx>

Thanks, Zeng Linggang. Patch applied.

Cheers,

Michael


> ---
>  man2/utimensat.2 | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/man2/utimensat.2 b/man2/utimensat.2
> index 80094d7..1dc941a 100644
> --- a/man2/utimensat.2
> +++ b/man2/utimensat.2
> @@ -418,6 +418,20 @@ glibc support was added with version 2.6.
>  Support for
>  .BR futimens ()
>  first appeared in glibc 2.6.
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lbw23 lb lb
> +l l l.
> +Interface	Attribute	Value
> +T{
> +.BR utimensat (),
> +.BR futimens ()
> +T}	Thread safety	MT-Safe
> +.TE
> +
>  .SH CONFORMING TO
>  .BR futimens ()
>  and
> 


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