*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> libdl/dlerror (3)              
Title
Content
Arch
Section
 

Contents


DLERROR(3C)							   DLERROR(3C)


NAME    [Toc]    [Back]

     dlerror - get diagnostic information

SYNOPSIS    [Toc]    [Back]

     cc	[flag ...] file	...  -lc [library ...]

     #include <dlfcn.h>

     char *dlerror(void);

DESCRIPTION    [Toc]    [Back]

     dlerror 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.

SEE ALSO    [Toc]    [Back]

      
      
     dlerror(3), dlopen(3), sgidladd(3), sgidlopen_version(3), dlsym(3).

NOTES    [Toc]    [Back]

     The messages returned by dlerror may reside in a static buffer that is
     overwritten on each call to dlerror.  Application code should not write
     to	this buffer.  Programs wishing to preserve an error message should
     make their	own copies of that message.

     The string	pointed	to by the return value must not	be free(3)d.

     The dlerror string	space is not thread-safe (whether sproc(2) threads
     with shared data or POSIX-pthreads	or some	other shared-data thread
     code):  multiple threads doing dynamic linking calls can step on each
     others dlerror strings.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
pciconf FreeBSD diagnostic utility for the PCI bus
diag0 HP-UX diagnostic interface to HP-PB I/O subsystem
lmdiag IRIX diagnostic checkout tool
diag1 HP-UX diagnostic interface to the PCI I/O subsystem
ipxdebug IRIX enable or disable diagnostic output from IPX
fmtmsg FreeBSD display a detailed diagnostic message
egcmd IRIX gigabit ethernet diagnostic tool
mptutil HP-UX Diagnostic utility for Ultra320 SCSI controllers and A7173A
clshm_diag IRIX obsolete diagnostic tool for CrayLink Shared Memory
dmesg HP-UX collect system diagnostic messages to form error log
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service