COHERENT manpages

This page displays the COHERENT manpage for dbm_dirfno() [Return the file descriptor for an NDBM .dir file].

List of available manpages
Index


dbm_dirfno() -- NDBM Function (libgdbm)

Return the file descriptor for an NDBM .dir file
#include <ndbm.h>
int dbm_dirfno (database)
DBM *database;

A NDBM data  base consists of two files.  One,  with the suffix .dir, holds
the index  for the data  base; the other,  with the suffix  .pag, holds the
data themselves.

Function  dbm_dirfno()  returns  the  file  descriptor  for the  .dir  file
associated with the data base to which database points.  database must have
been returned by a call to dbm_open().

See Also


Notes

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