cdb_init(3diet)

cdb_init3diet

Open a constant database

Usage

#include <cdb.h>

int cdb_init(struct cdb *c,int fd);

Overview

cdb_init places information about fd into a struct cdb variable c. fd has to be a seekable file previously opened for reading.

On systems that support mmap, cdb_init will try to map the whole constant database into memory.

The inverse operation to cdb_init is cdb_free.

Releases

Unchanged in 2 releases since Debian 5.0 (Lenny).

  1. 5.0–6.0

From libowfat-dev 0.28-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.