mtree_child - return node number of first child node
Contents
Description
The mtree_nnode function returns the node number of the first child of node in tree.
Nodes are numbered from 0 = root.
Errors
None.
Library
Librecast library (liblibrecast, -llibrecast)
Name
mtree_child - return node number of first child node
Return Value
mtree_child() returns the number of the first child node, or 0 if none.
See Also
mtree_init(3), mtree_free(3), mtree_build(3) LIBRECAST 2023-07-23 MTREE_CHILD(3)
Synopsis
#include<librecast/mtree.h>size_tmtree_child(mtree_t*tree,size_tnode);
Compile and link with -llibrecast.
