D_DESTROY

SUMMARY
d_destoy(dbname)
char *dbname

ARGUMENTS
dbname The name of the database to be destroyed.

DESCRIPTION
This function deletes the data and key files contained in database dbname.
The database ditionary file is not deleted. Any open databases will be
closed by d_destroy. Function d_destroy is primary used to maintain
temporary or working database which exisit only for the duration of the
application program. databases opened.

CURRENCY CHANGES
Currency tables are freed.

RETURN CODES

-4 S_INVDB Invalid database name.

EXAMPLE

d_open("work","o");
.. /* build and access work database */
/* all done - close database and delete files */
d_destroy("work");