cdb_firstkey(3) find first physical record in constant database

SYNTAX

#include <cdb.h>
#include <uint32.h>

int cdb_firstkey(struct cdb *c,uint32 *kpos);

DESCRIPTION

cdb_firstkey finds the physically first record in the constant database.

You can use cdb_datapos or cdb_keypos to get position and cdb_datalen and cdb_keylen to get len.