Opens a database for access.
DBM Library (libdbm.a)
#include <dbm.h>
dbminit ( file)
char *file;
The dbminit subroutine opens a database for access. At the time of the call, the file.dir and file.pag files must exist.
Item | Description |
---|---|
file | Specifies the path name of the database to open. |
Upon successful completion, this subroutine returns a value of 0. If unsuccessful, the subroutine returns a negative value.