COHERENT manpages

This page displays the COHERENT manpage for dbm_open() [Open an NDBM data base].

List of available manpages
Index


dbm_open() -- NDBM Function (libgdbm)

Open an NDBM data base
#include <ndbm.h>
DBM *dbm_open (database, type, mode)
char *database;
int type, mode;

Function dbm_open()  opens database. Parameters type and  mode are the same
as for the system call open(); for details, see its Lexicon entry.

To close database, call dbm_close().

dbm_open() returns the address of the  name of the data base it has opened.
If something has gone wrong, it returns NULL.

See Also


Notes

For  a statement  of copyright  and  permissions on  this routine,  see the
Lexicon entry for libgdbm.