dbh_close man page


dbh_close, dbh_destroy — close or remove an open DBHashTable


#include <dbh.h>

int dbh_close (DBHashTable *dbh);
int dbh_destroy (DBHashTable *dbh);


dbh_close will close the DBHashTable file (thus flushing io buffer).

dbh_destroy will close an open DBHashTable and erase the file from disk. Convenience function that does a close and rm.

Return Value

0 if error, 1 otherwise.

See Also

dbh (0), dbh_create (3), dbh_open (3), dbh_open_ro (3)


Edscott Wilson Garcia <edscott@xfce.org>

Referenced By

dbh_destroy(3) is an alias of dbh_close(3).

DBH DBHashTables Programmers' Manual