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.
 
 
 
 

19 lines
576 B

  1. .TH critbit0_delete 3
  2. .SH NAME
  3. critbit0_delete \- delete a string from a critbit tree
  4. .SH SYNTAX
  5. .B #include <critbit.h>
  6. critbit0_tree cb = { 0 };
  7. int \fBcritbit0_delete\fP(critbit0_tree* \fIcb\fR,const char* \fIstr\fR);
  8. .SH DESCRIPTION
  9. critbit0_delete attempts to delete a string from a critbit0 tree.
  10. If \fIstr\fR is in \fIcb\fR, critbit0_delete removes it and returns 1.
  11. If \fIstr\fR is not in \fIcb\fR, critbit0_delete leaves it alone and
  12. returns 0.
  13. .SH "RETURN VALUE"
  14. 1 if it was in cb and has now been removed, 0 if it was not in cb.
  15. .SH "SEE ALSO"
  16. critbit0_insert(3)