SYNOPSIS
#include <ndbm.h>
int dbm_delete(DBM *db, datum key);
DESCRIPTION
The
A datum consists of at least two members, dptr and dsize. The dptr member points to an object that is dsize bytes in length. Arbitrary binary data, as well as character strings, may be stored in the object pointed to by dptr.
PARAMETERS
- db
-
Points to the database where the record is to be deleted from. This must be a pointer returned by a prior call to
dbm_open() . - key
-
Is the key for the record to be deleted.
RETURN VALUES
On success,
CONFORMANCE
UNIX 98.
MULTITHREAD SAFETY LEVEL
Unsafe.
PORTING ISSUES
None
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
dbm_clearerr() ,dbm_close() ,dbm_error() ,dbm_fetch() ,dbm_firstkey() ,dbm_nextkey() ,dbm_open() ,dbm_store() ,dbopen()
MKS Toolkit 9.3 Documentation Build 6.