dbm_error()

return database error condition 

Function


SYNOPSIS

#include <ndbm.h>

int dbm_error(DBM *db)


DESCRIPTION

The dbm_error() function returns the error condition of the database specified by db.


PARAMETERS

db 

Points to the database whose error state is to be returned. This must be a pointer returned by a prior call to dbm_open().


RETURN VALUES

The dbm_error() function returns 0 if the error condition is not set, and returns a non-zero value if the error condition is set.


CONFORMANCE

UNIX 98.


MULTITHREAD SAFETY LEVEL

Unsafe.


PORTING ISSUES

None


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
dbm_clearerr(), dbm_close(), dbm_delete(), dbm_fetch(), dbm_firstkey(), dbm_nextkey(), dbm_open(), dbm_store(), dbopen()


PTC MKS Toolkit 10.5 Documentation Build 40.