D Eloquence Library
The EXIT Function
The EXIT function terminates a database subsystem. The syntax is as follows:
int cc = idb_exit()
The parameters are: None
Description
The idb_exit function call will terminate access to a database subsystem. All databases currently opened are closed. All resources set up by idb_init() are reset.
Return value
Returns 0 if successful, or -1 if an error was encountered.
Example
if(idb_exit()) {
printf("unable to terminate database subsystem");
exit(1);
}
This will terminate access to a database subsystem.
Eloquence Database Manual - 19 DEC 2002