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>iclose_db</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Name:       iclose_db

Purpose:    flush and close a database

Prototype:  int iclose_db(Db_Obj *db);

Header:     isam.h

Inputs:     db      - database handle

Description:
        iclose_db flushes all changes in the associated database db to
        disk, then closes all files (the data file and the index file)
        associated with the database.  Always call iclose_db when you are
        finished with a database to ensure that all changes are properly
        recorded to the disk.

Returns:    OK or ERROR

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