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

# cdb\_free(3)

close a constant databased

## NAME

cdb\_free - close a constant databased

## SYNTAX

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

int cdb\_free(struct cdb \**c*);

## DESCRIPTION

**cdb\_free** removes any memory mapping that cdb\_init might have established.

It will not close the file descriptor that you passed to cdb\_init or attempt to call free() on the struct cdb pointer.

## SEE ALSO

[cdb\_free(3)](/cdb_free/3.md), [cdb\_read(3)](/cdb_read/3.md), [cdb\_find(3)](/cdb_find/3.md), [cdbmake(1)](/cdbmake/1.md)
