[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-man
Subject: Re: [PATCH] bsearch.3: ATTRIBUTES: Note functions that is thread-safe
From: "Michael Kerrisk (man-pages)" <mtk.manpages () gmail ! com>
Date: 2015-04-29 19:21:22
Message-ID: 55412F32.6040408 () gmail ! com
[Download RAW message or body]
On 04/29/2015 12:09 PM, Zeng Linggang wrote:
> The marking matches glibc marking.
> The marking of functions in glibc is:
> - bsearch: MT-Safe
Thanks, Zeng. Applied. (Again a number disagreement in the title
of this patch; s/functions/function/)
Cheers,
Michael
> Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
> ---
> man3/bsearch.3 | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/man3/bsearch.3 b/man3/bsearch.3
> index 22c2ee3..ac0b1f4 100644
> --- a/man3/bsearch.3
> +++ b/man3/bsearch.3
> @@ -74,6 +74,19 @@ function returns a pointer to a matching member of the
> array, or NULL if no match is found.
> If there are multiple elements that
> match the key, the element returned is unspecified.
> +.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 bsearch ()
> +T} Thread safety MT-Safe
> +.TE
> +
> .SH CONFORMING TO
> SVr4, 4.3BSD, POSIX.1-2001, C89, C99.
> .SH EXAMPLE
>
--
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic