mojave man page for dlerror

Query: dlerror

OS: mojave

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DLERROR(3)						   BSD Library Functions Manual 						DLERROR(3)

NAME
dlerror -- get diagnostic information
SYNOPSIS
#include <dlfcn.h> const char* dlerror(void);
DESCRIPTION
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.
SEE ALSO
dlopen(3) dlopen_preflight(3) dlclose(3) dlsym(3) dyld(3) April 17, 2006
Related Man Pages
dlerror(3) - osf1
dlerror(3c) - sunos
dlerror(3) - v7
dlerror(3) - x11r4
dlerror(3) - plan9
Similar Topics in the Unix Linux Community
test program(dlopen) fails on hp but run well on solaris
dlopen help
Warning for shade82: 1st Warning to Add Code Tags
Calling functions from main program from dlopened library function