next up previous contents index
Next: 22 List-based Memory Manager: Up: 21.1 Introduction Previous: 21.1.4 dlclose: Delete a

21.1.5 dlerror: Return an error message describing the last error

 

SYNOPSIS

#include <dlfnc.h>

const char *dlerror(void);

DESCRIPTION

Return a null-terminated string describing the last error that occurred during a call to dlopen, dlsym, or dlclose. After a call to dlerror, the error status is reset, and a subsequent call will return a NULL pointer.

RETURNS

Returns a null-terminated string, or NULL if there is no error to report.


Utah Flux Research Group