diff options
| author | Alexey Zelkin <phantom@FreeBSD.org> | 2003-02-14 10:57:20 +0000 |
|---|---|---|
| committer | Alexey Zelkin <phantom@FreeBSD.org> | 2003-02-14 10:57:20 +0000 |
| commit | 7ec37597d30cf0b1da68cda91c8b996fb9b34139 (patch) | |
| tree | cba31dabb56a9059c17e1f67d0c5528d70b2261f /lib/libc | |
| parent | 6bc55edb4cf8e617ca5a959beff93e0021e881b5 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gen/dlopen.3 | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/libc/gen/dlopen.3 b/lib/libc/gen/dlopen.3 index d6bb9f90f004..7cc3f3a58d49 100644 --- a/lib/libc/gen/dlopen.3 +++ b/lib/libc/gen/dlopen.3 @@ -36,7 +36,11 @@ .Os .Dt DLOPEN 3 .Sh NAME -.Nm dlopen , dlsym , dlfunc , dlerror , dlclose +.Nm dlopen , +.Nm dlsym , +.Nm dlfunc , +.Nm dlerror , +.Nm dlclose .Nd programmatic interface to the dynamic linker .Sh LIBRARY .Lb libc @@ -231,6 +235,16 @@ interface, below, should be used, since .Fn getpid is a function and not a data object.) .Pp +If +.Fn dlsym +is called with the special +.Fa handle +.Dv RTLD_SELF , +then the search for the symbol is limited to the shared object +issuing the call to +.Fn dlsym +and those shared objects which were loaded after it. +.Pp The .Fn dlsym function @@ -340,4 +354,5 @@ retrieved via a call to .Xr ld 1 , .Xr rtld 1 , .Xr dladdr 3 , +.Xr dlinfo 3 , .Xr link 5 |
