Kenwood HP 9000 Personal Computer User Manual


 
238 Chapter 6
Shared Library Management Routines
The shl_load Shared Library Management Routines
printf PROCEDURE
shl_get PROCEDURE
shl_getsymbols PROCEDURE
__d_trap PROCEDURE
TOTAL SYMBOLS: 9
Exports:
environ DATA 0x40001018
errno STORAGE 0x400011CC
_SYSTEM_ID DATA 0x40001008
__dld_loc STORAGE 0x400011C8
_FPU_MODEL DATA 0x4000100C
_end DATA 0x400011D0
_environ DATA 0x40001018
__d_trap PROCEDURE 0x7AFFF1A6
main PROCEDURE 0x7AFFF1BE
TOTAL SYMBOLS: 9
[/usr/lib/libc.1]
Imports:
_res_rmutex STORAGE
errno STORAGE
_regrpc_rmutex STORAGE
_yellowup_rmutex STORAGE
_FPU_MODEL STORAGE
_environ_rmutex STORAGE
_iop_rmutex STORAGE
_rpcnls_rmutex STORAGE
_switch_rmutex STORAGE
_mem_rmutex STORAGE
_dir_rmutex STORAGE
The shl_unload and cxxshl_unload Routines
Unloads or frees up space for a shared library.
Syntax
int shl_unload(shl_t handle)
Parameters
handle The handle of the shared library you wish to unload.
The handle value is obtained from a previous call to
shl_load, shl_findsym, or shl_get.
Return Value
If successful, shl_unload returns 0. Otherwise, shl_unload returns 1
and sets errno to an appropriate value:
EINVAL Indicates the specified handle is invalid.