critbit0_clear(3)

critbit0_clear3

Free all memory associated with a critbit tree

Usage

#include <libowfat/critbit.h>

critbit0_tree cb = { 0 };

void critbit0_clear(critbit0_tree* cb);

Overview

critbit0_clear deletes all keys in cb and frees all memory associated with it.

Note

This function uses recursion to traverse the tree. It may require nontrivial amounts of available stack space.

Return value

none.

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9–11
  2. 12–13

From libowfat-dev 0.32-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.