[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Communications Technical Reference, Volume 1

dbminit Subroutine


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.

Note: To build an empty database, create zero-length .dir and .pag files.


file Specifies the path name of the database to open.

Return Values

Upon successful completion, this subroutine returns a value of 0. If unsuccessful, the subroutine returns a negative value.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The dbm_open subroutine.

List of NDBM and DBM Programming References and NDBM Overview in AIX Version 4.3 Communications Programming Concepts.

[ Previous | Next | Contents | Glossary | Home | Search ]