rld Manual
Using the rld Loader Library
RLD Manual—528857-006
2-11
dlresultcode()
Considerations
The dlresultcode() function retrieves the last error code generated by a call to any
of the functions dlopen(), dlclose(),or dlsym(). This function can be used
instead of the dlerror() function when a number is needed instead of a text string
error message.
Immediately after the call to the function for which you want to check the returned error
value, call the dlresultcode() function. You can do so immediately before or after
calling dlerror() ; neither affects the information returned by the other.
dlresultcode() does not set errno.