COHERENT manpages

This page displays the COHERENT manpage for gdbm_delete() [Delete a record from a GDBM data base].

List of available manpages
Index


gdbm_delete() -- GDBM Function

Delete a record from a GDBM data base
#include <gdbm.h>
int gdbm_delete (database, key)
GDBM_FILE database;
datum key;

Function gdbm_delete() deletes a the record  with key from the data base to
which  database points.   database must  have  been returned  by a  call to
gdbm_open().

If all  goes well, gdbm_delete()  returns zero.  It returns  -1 if database
did not  contain a record with  key, or if database  were opened into read-
only mode.

See Also


Notes

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