From 39720f03eb1ad5fa3fc77efd65f74f4f51abc2f0 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 19 Jul 2015 14:51:35 +0200 Subject: [PATCH] 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 Signed-off-by: Michael Kerrisk --- man3/dlsym.3 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/man3/dlsym.3 b/man3/dlsym.3 index ffe5a9174..35151967f 100644 --- a/man3/dlsym.3 +++ b/man3/dlsym.3 @@ -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 ().