#include <dlfcn.h>
void *dlsym(void *handle,
const char *symbol);
The dlsysm() function allows a
process to obtain the address of a symbol defined within an
object made accessible through a dlopen() call.
- handle
-
Is the value returned by a
previous call to dlopen().
- symbol
-
Points to the character
representation of the symbol's name.
dlsym() returns the address binding of the symbol
as it occurs in the shared object identified by handle.
It returns a NULL pointer if the symbol cannot be found.
More detailed diagnostic information is
available through dlerror().
UNIX 98, with restrictions.
MT-Safe.
dlsym() is implemented as a pass-through to the Win32
function GetProcAddress(), and hence does not have all
of the features available on some UNIX platforms.
The special handle RTLD_NEXT specified in UNIX 98
is not supported.
Please refer to the Win32 online documentation for more detailed information.
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
- Functions:
- dlclose(), dlerror(), dlopen()
MKS Toolkit 9.3 Documentation Build 6.