DragonFly On-Line Manual Pages

Search: Section:  


DLERROR(3)            DragonFly Library Functions Manual            DLERROR(3)

NAME

dlerror -- retrieve dynamic linker error messages

LIBRARY

This function is not in a library. It is included in every dynamically linked program automatically.

SYNOPSIS

#include <dlfcn.h> char * dlerror(void);

DESCRIPTION

The dlerror() function returns a null-terminated character string describing the last error that occurred during a call to dlopen(), dladdr(), dlinfo(), dlsym(), dlvsym(), 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.

SEE ALSO

rtld(1), dlclose(3), dlfcn(3), dlopen(3), dlsym(3), dlvsym(3) DragonFly 3.5 April 28, 2011 DragonFly 3.5

Search: Section: