Close and deallocate a single DBPROCESS structure.
void dbclose(dbproc) DBPROCESS *dbproc;
A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and server.
None.
dbclose is the inverse of dbopen. It cleans up any activity associated with one DBPROCESS structure and deallocates the space. It also closes the corresponding network connection.
To close every open DBPROCESS structure, use dbexit instead.
dbclose does not deallocate space associated with a LOGINREC. To deallocate a LOGINREC, an application can call dbloginfree.
Calling dbclose with an argument not returned by dbopen is sure to cause trouble.