Kenwood HP 9000 Personal Computer User Manual


 
Chapter 6 197
Shared Library Management Routines
Shared Library Management Routine Summaries
Except for shl_get and shl_gethandle, all these routines are thread
safe.
These routines are described in the shl_load(3x) man page.
The dlopen Routines Summary
The dlopen family of shared library management routines is available
only for the 64-bit linker.
The dlopen family of routines use Unix SVR4 shared library
mechanisms.
Use the following dl* routines for shared library management:
shl_definesym Adds a new symbol to the global shared library
symbol table.
shl_getsymbols Returns a list of symbols in a shared library.
shl_unload and
cxxshl_load
Unload a shared library and a C++ shared
library, respectively. They have the same
syntax.
Routine Action
dlopen Loads a shared library. This routine does
breadth-first searching.
dlerror Prints the last error message recorded by dld.
dlsym Gets the address of a symbol in a shared library.
dlget Returns information on a loaded module.
dlmodinfo Returns information about a loaded module.
dlgetname Retrieves the name of a loaded module given a
load model descriptor.
dlclose Unloads a shared library previously loaded by
dlopen().
Routine Action