]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
lsearch.3: ATTRIBUTES: Note functions that are thread-safe
authorZeng Linggang <zenglg.jy@cn.fujitsu.com>
Wed, 29 Apr 2015 10:09:22 +0000 (18:09 +0800)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 29 Apr 2015 19:26:30 +0000 (21:26 +0200)
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>
man3/lsearch.3

index 3b4637d6a3aa3517b868881b688e0c3f84cdec7a..f192960003a8d0bc0e8d2b01fd9d2cdc5555c9c8 100644 (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.