Next: Traverse, Previous: Search, Up: Private Routines
Find the next in-order node to a node.
#include <rbtree/rbtree.h>static Node *Successor( Tree *tree, Node *x );
Tree *tree
- the tree to traverse
Node *x
- the origin node
Find the next in-order node to a node.