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_child - return node number of first child node

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.

See Also