Chapter 6 195
Shared Library Management Routines
6 Shared Library ManagementRoutines
You can explicitly load and use shared libraries from your program. The
linker toolset provides two families of load routines, shl_load and
dlopen. Theshl_load routines support the shared library mechanisms
provided in previous version of HP-UX. The dlopen routines (available
for 64-bit mode only) use Unix SVR4 compatible mechanism for library
management.
NOTE Both families of routines support initializer and terminator routines. The
64-bit mode linker supports init/fini and 10.X release mechanisms. The
32-bit mode linker supports only the style used for the 10.X releases.
NOTE Support forshl_load library management routines may be
discontinued in a future 64-bit HP-UX release. You are encouraged to
migrate to thedlopen family of routines for shared library management
if you use the 64-bit mode linker toolset.