critbit0_contains - Man Page

check whether a string is in the critbit tree

Syntax

#include <critbit.h>

critbit0_tree cb = { 0 };

int critbit0_contains(critbit0_tree* cb,const char* str);

Description

critbit0_contains looks up the given string in the critbit0 tree. If str is in cb, critbit0_contains returns 1. Otherwise it returns 0.

Return Value

1 if the key was found, 0 otherwise.

See Also

critbit0_insert(3)

Referenced By

critbit0_allprefixed(3), critbit0_insert(3).