1critbit0_clear(3) Library Functions Manual critbit0_clear(3)
2
3
4
6 critbit0_clear - free all memory associated with a critbit tree
7
9 #include <critbit.h>
10
11 critbit0_tree cb = { 0 };
12
13 void critbit0_clear(critbit0_tree* cb);
14
16 critbit0_clear deletes all keys in cb and frees all memory associated
17 with it.
18
20 This function uses recursion to traverse the tree. It may require non‐
21 trivial amounts of available stack space.
22
24 none.
25
27 critbit0_delete(3)
28
29
30
31 critbit0_clear(3)