---
name: "cdb_keypos"
section: "3"
platform: "linux"
package: "libowfat-dev"
version: "0.32-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://carta.tech/man/cdb_keypos"
---

# cdb\_keypos(3)

get position of key

## NAME

cdb\_keypos - get position of key

## SYNTAX

**#include \<libowfat/cdb.h\>**

uint32 cdb\_keypos(struct cdb \**c*);

## DESCRIPTION

**cdb\_keypos** returns the position of the key cdb\_firstkey or cdb\_nextkey found.

Use cdb\_keylen to get the length of the key.

## SEE ALSO

[cdb\_keylen(3)](/man/cdb_keylen/3.md), [cdb\_datapos(3)](/man/cdb_datapos/3.md), [cdb\_datalen(3)](/man/cdb_datalen/3.md)
