logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mtree_nnode - return pointer to mtree node

Description

       The mtree_nnode function returns a pointer to the hash of node node, where 0 = root.

Errors

ERANGE The node requested is out of range for tree.

Library

       Librecast library (liblibrecast, -llibrecast)

Name

       mtree_nnode - return pointer to mtree node

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.

See Also

mtree_init(3), mtree_free(3), mtree_build(3)

LIBRECAST                                          2023-06-20                                     MTREE_NNODE(3)

Synopsis

#include<librecast/mtree.h>uint8_t*mtree_nnode(mtree_t*tree,size_tnode);

       Compile and link with -llibrecast.

See Also