mtree_child3
Return node number of first child node
Usage
#include <librecast/mtree.h>
size_t mtree_child(mtree_t *tree, size_t node);
Compile and link with -llibrecast.
Library
Librecast library (liblibrecast, -llibrecast)
Overview
The mtree_nnode function returns the node number of the first child of node in tree.
Nodes are numbered from 0 = root.
Return value
mtree_child() returns the number of the first child node, or 0 if none.
Errors
None.