Re: [PATCH] ferror.3: ATTRIBUTES: Note functions that are thread-safe

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

 



On 06/05/13 04:31, Peng Haitao wrote:
> The functions ferror(), clearerr(), feof() and fileno() are
> thread safe.


Thanks, Peng. Applied in my local branch.

Cheers,

Michael


> Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx>
> ---
>  man3/ferror.3 | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/man3/ferror.3 b/man3/ferror.3
> index c78a4ea..976a37b 100644
> --- a/man3/ferror.3
> +++ b/man3/ferror.3
> @@ -103,6 +103,15 @@ return \-1 and set
>  .I errno
>  to
>  .BR EBADF .)
> +.SH ATTRIBUTES
> +.SS Multithreading (see pthreads(7))
> +The
> +.BR clearerr (),
> +.BR feof (),
> +.BR ferror ()
> +and
> +.BR fileno ()
> +functions are thread-safe.
>  .SH CONFORMING TO
>  The functions
>  .BR clearerr (),
> 

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