diff options
-rw-r--r-- | share/man/man3/dlfcn.3 | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/share/man/man3/dlfcn.3 b/share/man/man3/dlfcn.3 index 775bd4845c2..929b019102d 100644 --- a/share/man/man3/dlfcn.3 +++ b/share/man/man3/dlfcn.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dlfcn.3,v 1.32 2022/08/20 14:14:24 sthen Exp $ +.\" $OpenBSD: dlfcn.3,v 1.33 2022/12/05 23:14:03 jmc Exp $ .\" $NetBSD: dlfcn.3,v 1.3 1996/01/09 19:43:34 pk Exp $ .\" .\" Copyright (c) 1995 Paul Kranenburg @@ -29,7 +29,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: August 20 2022 $ +.Dd $Mdocdate: December 5 2022 $ .Dt DLOPEN 3 .Os .Sh NAME @@ -108,8 +108,7 @@ This is the default value if resolution time is unspecified. .El .Pp One of the following values may be used to specify symbol visibility: -.Pp -.Bl -tag -width "RTLD_GLOBAL" -compact -offset indent +.Bl -tag -width "RTLD_GLOBAL" -offset indent .It Sy RTLD_GLOBAL The object's symbols and the symbols of its dependencies will be visible to other objects. @@ -125,8 +124,7 @@ If an object was opened with RTLD_LOCAL and later opened with RTLD_GLOBAL, then it is promoted to RTLD_GLOBAL. .Pp Additionally, the following flag may be ORed into the mode argument: -.Pp -.Bl -tag -width "RTLD_NODELETE" -compact -offset indent +.Bl -tag -width "RTLD_NODELETE" -offset indent .It Sy RTLD_NODELETE Prevents unload of the loaded object on .Fn dlclose . @@ -208,13 +206,13 @@ Thus an object can reference its own symbols and the symbols of its dependencies without calling .Fn dlopen . .It Sy RTLD_DEFAULT -All the visible shared objects and the executable will be searched in the order they -were loaded. +All the visible shared objects and the executable will be searched +in the order they were loaded. .It Sy RTLD_NEXT The search for .Fa symbol -is limited to the visible shared objects which were loaded after the one issuing the -call to +is limited to the visible shared objects which were loaded +after the one issuing the call to .Fn dlsym . Thus, if .Fn dlsym |