picl_get_root - get the root handle of the PICL tree
cc [ flag... ] file... –lpicl [ library... ] #include <picl.h> int picl_get_root(picl_nodehdl_t *nodehandle);
The picl_get_root() function gets the handle of the root node of the PICL tree and copies it into the location given by nodehandle.
Upon successful completion, 0 is returned. On failure, a non-negative integer is returned to indicate an error.
Session not initialized
Daemon not responding
General system failure
See attributes(7) for descriptions of the following attributes: