D_CLOSE

SUMMARY
d_close()
DESCRIPTION
Function d_close will close all open databases.All files use by the
db_VISTA runtime are closed and all of its dynamically allocated memory
is freed .All buffered changes made in single-use or exclusive access
mode are written to the database files.
──────────────────────────────────────────────────────────────────────────
Note:
The consistency and integrity of a database may be impaired of a single-
user or exclusive access mode aplication which is not using transaction
processing terminates without having first closed the database.
──────────────────────────────────────────────────────────────────────────

CURRENCY CHANGES
The allocated memory used for the currency tables is freed.

RETURN CODES
No special status codes
EXAMPLE
main()
{
/* A db_VISTA application program */
...
d_open("tims","s");
..... /* access "tims" database */
d_close();
}