diff options
author | 1995-11-20 07:19:40 +0000 | |
---|---|---|
committer | 1995-11-20 07:19:40 +0000 | |
commit | a7fc0edabecbb4fbd89708e19f232889c0da2b0b (patch) | |
tree | fa5a84a4a6c0d6d89774f2dc470c1c71668a2954 /share/man/man3 | |
parent | add # declaration for vme cgnine card (diff) | |
download | wireguard-openbsd-a7fc0edabecbb4fbd89708e19f232889c0da2b0b.tar.xz wireguard-openbsd-a7fc0edabecbb4fbd89708e19f232889c0da2b0b.zip |
make dlopen() use hints database, not just paths; from etheisen@TECLink.Net; netbsd pr#1763
Diffstat (limited to 'share/man/man3')
-rw-r--r-- | share/man/man3/dlfcn.3 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/share/man/man3/dlfcn.3 b/share/man/man3/dlfcn.3 index 3c36a96bbee..39047b975a5 100644 --- a/share/man/man3/dlfcn.3 +++ b/share/man/man3/dlfcn.3 @@ -41,7 +41,7 @@ .Sh SYNOPSIS .Fd #include <dlfcn.h> .Ft "void *" -.Fn dlopen "char *path" "int mode" +.Fn dlopen "char *name" "int mode" .Ft "int" .Fn dlclose "void *handle" .Ft "void *" @@ -57,10 +57,11 @@ They allow new shared objects to be loaded into the process' address space under program control. The .Fn dlopen -function takes a pathname of a shared object as the first argument. The -shared object is mapped into the address space, relocated and its external -references are resolved in the same way as is done with the implicitly loaded -shared libraries at program startup. +function takes a filename of the forms 'libname.so', 'libname.so.xx.xx' where +xx are the major and minor revisions, or 'pathname/filename' of a shared object +as the first argument. The shared object is mapped into the address space, +relocated and its external references are resolved in the same way as is done +with the implicitly loaded shared libraries at program startup. The second argument has currently no effect, but should be set to .Dv DL_LAZY for future compatibility. |