PICL Library Functions picl_get_root(3PICL)
NAME
picl_get_root - get the root handle of the PICL tree
SYNOPSIS
cc [ flag... ] file... -lpicl [ library... ]
#include
int picl_get_root(picl_nodehdl_t *nodehandle);
DESCRIPTION
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.RETURN VALUES
Upon successful completion, 0 is returned. On failure, anon-negative integer is returned to indicate an error.
ERRORS
PICL_NOTINITIALIZED Session not initialized
PICL_NORESPONSE Daemon not responding
PICL_FAILURE General system failure
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
picl_initialize(3PICL), picl_shutdown(3PICL), attributes(5)
SunOS 5.11 Last change: 28 Mar 2000 1