mtree_parent3
Return node number of parent node
Usage
#include <librecast/mtree.h>
size_t mtree_parent(size_t node);
Compile and link with -llibrecast.
Library
Librecast library (liblibrecast, -llibrecast)
Overview
The mtree_nnode function returns the node number of the parent of node.
This calculation is independent of the tree, and is implemented as a macro.
Nodes are numbered from 0 = root.
Return value
mtree_parent() returns the number of the parent node.
Errors
None.