dbh_close - Man Page

close or remove an open DBHashTable

Synopsis

#include <dbh.h>

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

Description

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)

Author

Edscott Wilson Garcia <edscott@xfce.org>

Referenced By

dbh(3), dbh_open(3).

The man page dbh_destroy(3) is an alias of dbh_close(3).

DBH DBHashTables Programmers' Manual