Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- db_VISTA III - d_destroy http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   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");

See Also: d_initialize

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson