196 Chapter 6
Shared Library Management Routines
Shared Library Management Routine Summaries
Shared Library Management Routine
Summaries
The following sections introduce the shared library management
routines available for the HP-UX 11.00 release.
The shl_load Routine Summary
The shl_load family of shared library management routines are
available for both the 32-bit and 64-bit mode linker.
All of the shl_load family routines use the same user interface in 32-bit
and 64-bit mode linking.
Use the following shl_load routines for shared library management:
Routine Action
shl_load and
cxxshl_load
Explicitly load a shared library and a C++
shared library, respectively. They have the
same syntax. shl_load() lets you load a
compatibility or standard mode shared library.
It does depth-first searching.
shl_findsym Finds the address of a global symbol in a
shared library.
shl_get and
shl_get_r
Get information about currently loaded
libraries. shl_get_r is a thread-safe version
of shl_get with the same syntax.
shl_gethandle
and
shl_gethandle_r
Get descriptor information about a loaded
shared library. shl_gethandle_r is a
thread-safe version of shl_gethandle with
the same syntax.