COHERENT manpages

This page displays the COHERENT manpage for gdbm_strerror() [Translate a GDBM error code into text].

List of available manpages
Index


gdbm_strerror() -- GDBM Function (libgdbm)

Translate a GDBM error code into text
#include <gdbm.h>
#include <gdbmerror.h>
char *gdbm_strerror(errno)
gdbm_error errno;

Function gdbm_strerror()  converts a GDBM error code  into an error message
that can be read by a human being.

errno is  the error code.  This usually is  the global variable gdbm_errno,
which a GDBM  routine sets should an error occur  while manipulating a GDBM
data base.

If an error occurs,  gdbm_strerror() returns NULL.  Otherwise, it returns a
pointer to the string that holds the message.

See Also


Notes

For  a statement  of copyright  and  permissions on  this routine,  see the
Lexicon entry for libgdbm.