lsearch.3: ATTRIBUTES: Note functions that are thread-safe

The marking matches glibc marking.
markings of functions in glibc are:
- lfind:   MT-Safe
- lsearch: MT-Safe

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Zeng Linggang 2015-04-29 18:09:22 +08:00 committed by Michael Kerrisk
parent 800835baac
commit 1ef777eaf0
1 changed files with 14 additions and 0 deletions

View File

@ -77,6 +77,20 @@ NULL if no match is found.
returns a pointer to
a matching member of the array, or to the newly added member if no
match is found.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
allbox;
lbw18 lb lb
l l l.
Interface Attribute Value
T{
.BR lfind (),
.BR lsearch ()
T} Thread safety MT-Safe
.TE
.SH CONFORMING TO
SVr4, 4.3BSD, POSIX.1-2001.
Present in libc since libc-4.6.27.