diff options
author | kib <kib@FreeBSD.org> | 2009-04-01 14:38:20 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2009-04-01 14:38:20 +0000 |
commit | 2b9fbfce360862ff65c64e555c8822cb4380214f (patch) | |
tree | 56e480e79e99cf955457aad7e57d3f0398ec5ff1 /lib/libc/gen/dlopen.3 | |
parent | a2d099881f505e260d06d2a500630b2db36d44f1 (diff) | |
download | FreeBSD-src-2b9fbfce360862ff65c64e555c8822cb4380214f.zip FreeBSD-src-2b9fbfce360862ff65c64e555c8822cb4380214f.tar.gz |
Document RTLD_NODELETE, -z nodelete and -z origin support.
Diffstat (limited to 'lib/libc/gen/dlopen.3')
-rw-r--r-- | lib/libc/gen/dlopen.3 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libc/gen/dlopen.3 b/lib/libc/gen/dlopen.3 index 118e165..187f817 100644 --- a/lib/libc/gen/dlopen.3 +++ b/lib/libc/gen/dlopen.3 @@ -32,7 +32,7 @@ .\" @(#) dlopen.3 1.6 90/01/31 SMI .\" $FreeBSD$ .\" -.Dd September 10, 2002 +.Dd April 1, 2009 .Os .Dt DLOPEN 3 .Sh NAME @@ -123,7 +123,7 @@ call to One of the following flags may be ORed into the .Fa mode argument: -.Bl -tag -width RTLD_GLOBALX +.Bl -tag -width RTLD_NODELETE .It Dv RTLD_GLOBAL Symbols from this shared object and its directed acyclic graph (DAG) of needed objects will be available for resolving undefined references @@ -141,6 +141,13 @@ the absolute pathnames of all objects, to standard output. With this flag .Fn dlopen will return to the caller only in the case of error. +.It Dv RTLD_NODELETE +Prevents unload of the loaded object on +.Fn dlclose . +The same behaviour may be requested by +.Fl "z nodelete" +option of the static linker +.Xr ld 1 . .El .Pp If |