---
name: "cdb_datapos"
section: "3diet"
platform: "linux"
package: "libowfat-dev"
version: "0.28-2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/cdb_datapos/3diet"
---

# cdb\_datapos(3diet)

get position of data

## NAME

cdb\_datapos - get position of data

## SYNTAX

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

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

## DESCRIPTION

**cdb\_datapos** returns the position of the data associated with the last key you looked up using cdb\_find or cdb\_findnext.

Use cdb\_datalen to get the length of the data.

## SEE ALSO

[cdb\_datalen(3)](/cdb_datalen/3.md), [cdb\_keypos(3)](/cdb_keypos/3.md), [cdb\_keylen(3)](/cdb_keylen/3.md)
