| iMatix home page | << | < | > | >> |
SFL Version 2.10 |
#include "sfltree.h" void *tree_first (void *tree)
Finds and returns the first node in a (sub-)tree.
{ TREE *current; if ((!tree) || (tree == TREE_NULL)) return NULL; current = tree; while (current-> left != TREE_NULL) current = current-> left; return current; }
| << | < | > | >> | Copyright © 1996-99 iMatix Corporation |