cdb_init3
Open a constant database
Usage
#include <libowfat/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
7 releases since Debian 7 (Wheezy); the text changed 1 time.