1critbit0_contains(3) Library Functions Manual critbit0_contains(3)
2
3
4
6 critbit0_contains - check whether a string is in the critbit tree
7
9 #include <critbit.h>
10
11 critbit0_tree cb = { 0 };
12
13 int critbit0_contains(critbit0_tree* cb,const char* str);
14
16 critbit0_contains looks up the given string in the critbit0 tree. If
17 str is in cb, critbit0_contains returns 1. Otherwise it returns 0.
18
20 1 if the key was found, 0 otherwise.
21
23 critbit0_insert(3)
24
25
26
27 critbit0_contains(3)