Query: cdb_init
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
cdb_init(3) Library Functions Manual cdb_init(3)NAMEcdb_init - open a constant databaseSYNTAX#include <cdb.h> int cdb_init(struct cdb *c,int fd);DESCRIPTIONcdb_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.SEE ALSOcdb_free(3), cdb_read(3), cdb_find(3), cdbmake(1) cdb_init(3)