From b345bfca5c7fe3291aa22f992a4c9f46d5ea66e1 Mon Sep 17 00:00:00 2001 From: Zeng Linggang Date: Wed, 29 Apr 2015 18:09:18 +0800 Subject: [PATCH] bsearch.3: ATTRIBUTES: Note function that is thread-safe The marking matches glibc marking. The marking of functions in glibc is: - bsearch: MT-Safe Signed-off-by: Zeng Linggang Signed-off-by: Michael Kerrisk --- man3/bsearch.3 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/man3/bsearch.3 b/man3/bsearch.3 index 22c2ee3d0..ac0b1f46d 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