dbClose | GoAhead WebServer API | GoAhead EMF
## Synopsis Closes an open database. ## Prototype
     #include "emfdb.h"

     void dbClose(int did);
## Parameters
did | Database ID returned from previous dbOpen
## Description Close the DB by freeing all allocated structures. Calls to dbClose are important when the program exits so that the allocated memory may be freed. ## Return Value No return value. ## Example
    static int testDbClose()
    {
        int dbid;
        dbid = dbGetId(DATABASE);
        harnessTesting(T("dbClose"));
        dbClose(dbid);
        ...
    }
## See Also dbOpen, dbRegisterDBSchema