Query: ptree_get_root
OS: sunos
Section: 3picltre
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ptree_get_root(3PICLTREE) PICL Plug-In Library Functions ptree_get_root(3PICLTREE)NAMEptree_get_root - get the root node handleSYNOPSIScc [ flag... ] file... -lpicltree [ library... ] #include <picltree.h> int ptree_get_root(picl_nodehdl_t *nodeh);DESCRIPTIONThe ptree_get_root() function copies the handle of the root node of the PICL tree into the location specified by nodeh.RETURN VALUESUpon successful completion, 0 is returned. On failure, a non-negative integer is returned to indicate an error.ERRORSPICL_INVALIDARG Invalid argument PICL_FAILURE General system failureATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOlibpicltree(3PICLTREE), ptree_create_node(3PICLTREE), attributes(5) SunOS 5.10 28 Mar 2000 ptree_get_root(3PICLTREE)