dlerror(3C)dlerror(3C)NAMEdlerror - get diagnostic information
SYNOPSIS
[flag ... ] file ... [library] ...
DESCRIPTION
is one of a family of routines that give the user direct access to the
dynamic linking facilities (using the option on the compiler or command
line). 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 returns NULL. Thus, invoking second time, imme‐
diately following a prior invocation, results in NULL being returned.
MULTITHREAD USAGE
This routine is thread-safe.
WARNINGS
The messages returned by may reside in a static buffer that is over‐
written on each call to Application code should not write to this buf‐
fer. Programs wishing to preserve an error message should make their
own copies of that message.
SEE ALSOdlclose(3C), dlopen(3C), dlsym(3C).
Texts and Tutorials:
(See the option)
(See manuals(5) for ordering information)
dlerror(3C)