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_clear - free all memory associated with a critbit tree

Description

       critbit0_clear deletes all keys in cb and frees all memory associated with it.

Name

       critbit0_clear - free all memory associated with a critbit tree

Note

       This  function  uses recursion to traverse the tree. It may require nontrivial amounts of available stack
       space.

Return Value

       none.

See Also

critbit0_delete(3)

                                                                                               critbit0_clear(3)

Syntax

#include<libowfat/critbit.h>

       critbit0_tree cb = { 0 };

       void critbit0_clear(critbit0_tree* cb);

See Also