1cdb_init(3)                Library Functions Manual                cdb_init(3)
2
3
4

NAME

6       cdb_init - open a constant database
7

SYNTAX

9       #include <cdb.h>
10
11       int cdb_init(struct cdb *c,int fd);
12
13

DESCRIPTION

15       cdb_init  places information about fd into a struct cdb variable c.  fd
16       has to be a seekable file previously opened for reading.
17
18       On systems that support mmap, cdb_init will try to map the  whole  con‐
19       stant database into memory.
20
21       The inverse operation to cdb_init is cdb_free.
22
23

SEE ALSO

25       cdb_free(3), cdb_read(3), cdb_find(3), cdbmake(1)
26
27
28
29                                                                   cdb_init(3)
Impressum