dlerror()

return last dynamic linking error 

Function


SYNOPSIS

#include <dlfcn.h>

char *dlerror(void);


DESCRIPTION

The dlerror() function returns a null-terminated character string (with no trailing newline) that describes the last error that occurred during dynamic linking processing. If no dynamic linking errors have occurred since the last invocation of dlerror(), dlerror() returns NULL. Thus, invoking dlerror() a second time, immediately following a prior invocation, results in NULL being returned.


PARAMETERS

None.


RETURN VALUES

dlerror() returns a null-terminated character string describing the last error that occurred during a dlopen(), dlsym(), or dlclose(). If no such error has occurred, then dlerror returns NULL.


CONFORMANCE

UNIX 98.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
dlclose(), dlopen(), dlsym()


MKS Toolkit 9.2 Documentation Build 16.