first previous next last contents

close_db

#include <IO.h>

int close_db(
        GapIO *io);

This function closes a database. io is a GapIO pointer returned from a previous call to open_db. If necessary, the busy file is removed, and all allocated memory is freed.

The function returns 0 for success and -1 for failure.


first previous next last contents
Last generated on 25 November 2011.