mcExit — Terminate MemCom (C API)
#include <memcom.h> int mcExit();
mcExit
terminates the
MemCom system. Any open databases and
open connections to servers are closed. The function returns the
status code. On success, zero is returned. On error, a negative
value and on warning, a positive value is returned (see MemCom error codes). While the call to
mcExit
is not required, it is recommended,
since mcExit
closes all open databases and it
releases all buffers allocated by
MemCom.