#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.