Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- C/Database Toolchest Library - name: <b>idestroy_db</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Name:       idestroy_db

Purpose:    permanently remove a database

Prototype:  int idestroy_db (char *db_name);

Header:     isam.h

Inputs:     db_name - name of database to remove

Description:
        idestroy_db removes the database named db_name (both the data
        file and its associated index file) from the file system.  The database
        is gone forever (unless you have a backup copy).  The db_name should
        include the drive and path specifier if the database is not on the
        current drive in the current directory.

        It is an error to try to idestroy_db a database that is open.

Returns:
        OK or ERROR

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