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

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

 



On 05/28/13 11:08, Peng Haitao wrote:
> The functions ether_aton() and ether_ntoa() are not thread safe.

Thanks, Peng. Applied in my local branch.

Cheers,

Michael


> Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx>
> ---
>  man3/ether_aton.3 | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> diff --git a/man3/ether_aton.3 b/man3/ether_aton.3
> index eb65777..9355de1 100644
> --- a/man3/ether_aton.3
> +++ b/man3/ether_aton.3
> @@ -120,6 +120,22 @@ struct ether_addr {
>  }
>  .fi
>  .in
> +.SH ATTRIBUTES
> +.SS Multithreading (see pthreads(7))
> +The
> +.BR ether_aton ()
> +and
> +.BR ether_ntoa ()
> +functions are not thread-safe.
> +.LP
> +The
> +.BR ether_ntohost (),
> +.BR ether_hostton (),
> +.BR ether_line (),
> +.BR ether_ntoa_r ()
> +and
> +.BR ether_aton_r ()
> +functions are thread-safe.
>  .SH CONFORMING TO
>  4.3BSD, SunOS.
>  .SH BUGS
> 

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