Next: rbtree_new, Previous: rbtree_min, Up: Public Routines
Determine the node with the minimum data.
#include <rbtree/rbtree.h>RBNode rbtree_min_node(RBTree rbtree);
RBTree rbtree
- the tree to search
This routine searches the tree for the node with the minimum data, as determined by the comparison routine with which the tree was created.
It returns a handle to the node if it exists, NULL
if the
tree is empty.