logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cdb_init - open a constant database

Description

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.

Name

       cdb_init - open a constant database

See Also

cdb_free(3), cdb_read(3), cdb_find(3), cdbmake(1)

                                                                                                     cdb_init(3)

Syntax

#include<libowfat/cdb.h>

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

See Also