|
|
|
@ -8,7 +8,9 @@ critbit0_tree cb = { 0 };
|
|
|
|
|
|
|
|
|
|
int \fBcritbit0_insert\fP(critbit0_tree* \fIcb\fR,const char* \fIstr\fR);
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
critbit0_insert attempts to insert a string into a critbit0 tree.
|
|
|
|
|
critbit0_insert attempts to insert a string into a critbit0 tree. For
|
|
|
|
|
this it does not insert a copy of the pointer but makes a copy of the
|
|
|
|
|
whole string.
|
|
|
|
|
If \fIstr\fR is already in \fIcb\fR, critbit0_insert returns 1.
|
|
|
|
|
If \fIstr\fR is not in \fIcb\fR, it is inserted and critbit0_insert
|
|
|
|
|
returns 2.
|
|
|
|
|