dlerror - obtain error diagnostic for functions in the dlopen API
Link with -ldl
() function returns a human-readable, null-terminated string
describing the most recent error that occurred from a call to one of the
functions in the dlopen API since the last call to dlerror
returned string does not
include a trailing newline.
() returns NULL if no errors have occurred since initialization or
since it was last called.
() is present in glibc 2.0 and later.
For an explanation of the terms used in this section, see attributes
The message returned by dlerror
() may reside in a statically allocated
buffer that is overwritten by subsequent dlerror
This function is part of the dlopen API, derived from SunOS.