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

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


SEE ALSO

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


PTC MKS Toolkit 10.3 Documentation Build 39.