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

After research, We think
* dlsym(),
* dlvsym()
are thread-safe. But, there are not markings of them in
glibc document.

[mtk: Split out patch for formerly single dlopen.3 page]

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-07-19 14:51:35 +02:00
parent b23510e5db
commit 39720f03eb
1 changed files with 13 additions and 0 deletions

View File

@ -111,6 +111,19 @@ the cause of the error can be diagnosed using
is present in glibc 2.0 and later.
.BR dlvsym ()
first appeared in glibc 2.1.
.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 dlsym (),
.BR dlvsym ()
T} Thread safety MT-Safe
.TE
.SH CONFORMING TO
POSIX.1-2001 describes
.BR dlsym ().