DLERROR(3) | Library Functions Manual | DLERROR(3) |
dlerror
— get
diagnostic information
#include
<dlfcn.h>
const char*
dlerror
(void);
dlerror
()
returns a null-terminated character string describing the last error that
occurred on this thread during a call to
dlopen
(),
dlopen_preflight
(),
dlsym
(),
or
dlclose
().
If no such error has occurred, dlerror
() returns a
null pointer. At each call to dlerror
(), the error
indication is reset. Thus in the case of two calls to
dlerror
(), where the second call follows the first
immediately, the second call will always return a null pointer.
April 17, 2006 |