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

# cdb\_datalen(3)

get length of data

## NAME

cdb\_datalen - get length of data

## SYNTAX

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

unsigned int cdb\_datalen(struct cdb \**c*);

## DESCRIPTION

**cdb\_datalen** returns the length of the data associated with the last key you looked up with cdb\_find or cdb\_findnext.

Use cdb\_datapos to get the position of the data.

## SEE ALSO

[cdb\_datapos(3)](/cdb_datapos/3.md), [cdb\_keylen(3)](/cdb_keylen/3.md), [cdb\_keypos(3)](/cdb_keypos/3.md)
