Close and deallocate all DBPROCESS structures, and clean up any structures initialized by dbinit.
void dbexit()
None.
dbexit calls dbclose repeatedly for all allocated DBPROCESS structures. dbclose cleans up any activity associated with a single DBPROCESS structure and deallocates the space.
You can use dbclose directly to close just a single DBPROCESS structure.
dbexit also cleans up any structures initialized by dbinit, releasing the memory associated with those structures. It must be the last DB-Library call in any application that calls dbinit.
To ensure future compatibility and portability, Sybase strongly recommends that all applications call dbinit and dbexit, no matter what their environment.
For environments requiring dbinit, the application must not make any other DB-Library call after calling dbexit.