Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
527 B

.TH cdb_init 3
.SH NAME
cdb_init \- open a constant database
.SH SYNTAX
.B #include <libowfat/cdb.h>
int cdb_init(struct cdb *\fIc\fR, int \fIfd\fR);
.SH DESCRIPTION
.B cdb_init
places information about \fIfd\fR into a struct cdb variable \fIc\fR.
\fIfd\fR 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.
.SH "SEE ALSO"
cdb_free(3), cdb_read(3), cdb_find(3), cdbmake(1)