mtree_nnode3
Return pointer to mtree node
Usage
#include <librecast/mtree.h>
uint8_t *mtree_nnode(mtree_t *tree, size_t node);
Compile and link with -llibrecast.
Library
Librecast library (liblibrecast, -llibrecast)
Overview
The mtree_nnode function returns a pointer to the hash of node node, where 0 = root.
Return value
mtree_nnode() returns a pointer to the hash of the numbered node. On error, NULL is returned, and errno is set to indicate the error.
Errors
- ERANGE
-
The node requested is out of range for tree.