COHERENT manpages
This page displays the COHERENT manpage for dbm_close() [Close an NDBM data base].
List of available manpages
Index
dbm_close() -- NDBM Function (libgdbm) Close an NDBM data base #include <ndbm.h> void dbm_close (database) DBM *database; Function dbm_close() closes the NDBM data base to which database points. database must first have been opened by a call to dbm_open(). See Also Notes This function is a wrapper for function gdbm_close(). It is included for compatibility with existing code. If you have called dbm_fetch() to select data from database, you must use or copy the returned information before you call dbm_close(). If you do not, dbm_close() may corrupt the data in the datum that dbm_fetch() has returned. For a statement of copyright and permissions on this routine, see the Lexicon entry for libgdbm.