DOKK / manpages / debian 12 / libowfat-dev / cdb_firstkey.3.en
cdb_firstkey(3) Library Functions Manual cdb_firstkey(3)

cdb_firstkey - find first physical record in constant database

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

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

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.

cdb_nextkey(3), cdb_successor(3)