Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (a - d) dlopen(3)
• Could not be opened for execution
• Is not a DLL or an unlicensed public SRL
or if an error occurred during the loading or adjustment of the file’s symbolic references. The
dlerror( ) or dlresultcode() function should be called immediately to determine the problem.
ERRORS
The dlopen( ) function does not set the errno variable. Error information is available through the
dlerror( ) or dlresultcode() function.
Unresolved symbols can cause dlopen( ) to generate warnings or errors, depending on the user-
specified option for treating unresolved symbols. Warnings and errors are reported to the home
terminal.
If the option saved in the object file specifies that unresolved symbols generate errors, dlopen( )
returns 0 (zero) without loading any libraries; otherwise, dlopen( ) returns a valid library handle.
In the case of an error, a summary message can be retrieved by a call to dlerror( ).
RELATED INFORMATION
Commands: eld(1), ld(1).
Functions: dlclose(3), dlerror(3), dlresultcode(3), dlsym(3).
STANDARDS CONFORMANCE
This function is an extension to the XPG4 Version 2 specification.
527187-017 Hewlett-Packard Company 1−199