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

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

 



Thanks, Haitao.

Applied.

Cheers,

Michael

On 03/17/2014 08:03 AM, penght@xxxxxxxxxxxxxx wrote:
> The function memmem() is thread safe.
> 
> Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx>
> ---
>  man3/memmem.3 | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/man3/memmem.3 b/man3/memmem.3
> index 7b97d2d..5552e6e 100644
> --- a/man3/memmem.3
> +++ b/man3/memmem.3
> @@ -27,7 +27,7 @@
>  .\"     386BSD man pages
>  .\" Modified Sat Jul 24 18:50:48 1993 by Rik Faith (faith@xxxxxxxxxx)
>  .\" Interchanged 'needle' and 'haystack'; added history, aeb, 980113.
> -.TH MEMMEM 3  2008-12-05 "GNU" "Linux Programmer's Manual"
> +.TH MEMMEM 3  2014-03-17 "GNU" "Linux Programmer's Manual"
>  .SH NAME
>  memmem \- locate a substring
>  .SH SYNOPSIS
> @@ -56,6 +56,11 @@ The
>  .BR memmem ()
>  function returns a pointer to the beginning of the
>  substring, or NULL if the substring is not found.
> +.SH ATTRIBUTES
> +.SS Multithreading (see pthreads(7))
> +The
> +.BR memmem ()
> +function is thread-safe.
>  .SH CONFORMING TO
>  This function is a GNU extension.
>  .SH BUGS
> 


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