cdb_firstkey - Man Page

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.

See Also

cdb_nextkey(3), cdb_successor(3)

Referenced By

cdb_nextkey(3), cdb_successor(3).