DMQUIT(5ICD)

NAME
dmQuit - quit all database interaction

SYNOPSIS

#include "dmincl.h"
dmQuit ()

DESCRIPTION
Function dmQuit() can be used to check in all cells for which a key has been obtained by function dmCheckOut() and which have not yet been checked in.
Function dmQuit() calls dmCkinAll() with mode QUIT, see the manual page of dmCheckIn(), and closes all open projects.

This function must always be called, if the application has called dmInit(), before exiting the application program. To let this work correctly in all circumstances, every application must have a signal handler.

DIAGNOSTICS
If properly executed, dmQuit() will return 0. If dmQuit() fails -1 will be returned, dmerrno will be set, and a call to function dmError() will be done.

SEE ALSO
dmCheckIn(5ICD), dmInit(5ICD).