logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

critbit0_delete - delete a string from a critbit tree

Description

       critbit0_delete  attempts  to  delete  a  string  from a critbit0 tree.  If str is in cb, critbit0_delete
       removes it and returns 1.  If str is not in cb, critbit0_delete leaves it alone and returns 0.

Name

       critbit0_delete - delete a string from a critbit tree

Return Value

       1 if it was in cb and has now been removed, 0 if it was not in cb.

See Also

critbit0_insert(3)

                                                                                              critbit0_delete(3)

Syntax

#include<libowfat/critbit.h>

       critbit0_tree cb = { 0 };

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

See Also