1critbit0_clear(3)          Library Functions Manual          critbit0_clear(3)
2
3
4

NAME

6       critbit0_clear - free all memory associated with a critbit tree
7

SYNTAX

9       #include <critbit.h>
10
11       critbit0_tree cb = { 0 };
12
13       void critbit0_clear(critbit0_tree* cb);
14

DESCRIPTION

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

NOTE

20       This function uses recursion to traverse the tree. It may require  non‐
21       trivial amounts of available stack space.
22

RETURN VALUE

24       none.
25

SEE ALSO

27       critbit0_delete(3)
28
29
30
31                                                             critbit0_clear(3)
Impressum