Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
493 B

.TH critbit0_contains 3
.SH NAME
critbit0_contains \- check whether a string is in the critbit tree
.SH SYNTAX
.B #include <critbit.h>
critbit0_tree cb = { 0 };
int \fBcritbit0_contains\fP(critbit0_tree* \fIcb\fR,const char* \fIstr\fR);
.SH DESCRIPTION
critbit0_contains looks up the given string in the critbit0 tree.
If \fIstr\fR is in \fIcb\fR, critbit0_contains returns 1. Otherwise it
returns 0.
.SH "RETURN VALUE"
1 if the key was found, 0 otherwise.
.SH "SEE ALSO"
critbit0_insert(3)