Kenwood HP 9000 Personal Computer User Manual


 
240 Chapter 6
Shared Library Management Routines
The dlopen Shared Library Management Routines
The dlopen Shared Library
Management Routines
This section describes the dl* family of shared library management
routines.
NOTE Use these routines in 64-bit mode only
The dlopen Routine
Opens a shared library.
Syntax
void *dlopen(const char *file, int mode);
Parameters
Parm Definition
file Used to construct a pathname to the shared library file.
If files contain a slash character (/), dlopen uses the file argument itself as the
pathname. If not, dlopen searches a series of directories for file.
Any directories specified by the environment variable LD_LIBRARY_PATH.
Any directories specified by the RPATH of the calling load module.
The directories /usr/lib/pa20_64 and usr/ccs/lib/pa20_64.