NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ERRORS | ATTRIBUTES | SEE ALSO
cc [flag …] file … -lpicltree [library …] #include <picltree.h>int ptree_get_root(picl_nodehdl_t *nodeh);
The ptree_get_root() function copies the handle of the root node of the PICL tree into the location specified by nodeh.
Upon successful completion, 0 is returned. On failure, a non-negative integer is returned to indicate an error.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
MT-Level | MT-Safe |
NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ERRORS | ATTRIBUTES | SEE ALSO