[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 1

dbminit Subroutine

Purpose

Opens a database for access.

Library

DBM Library (libdbm.a)

Syntax

#include <dbm.h>


dbminit ( file)
char *file;

Description

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.

Parameters

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.

Related Information

The dbm_open subroutine.

List of NDBM and DBM Programming References and NDBM Overview in AIX 5L Version 5.2 Communications Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]