PICL Library Functions piclgetroot(3PICL)
NAME
piclgetroot - get the root handle of the PICL tree
SYNOPSIS
cc [ flag... ] file... -lpicl [ library... ]
#include
int piclgetroot(piclnodehdlt *nodehandle);
DESCRIPTION
The piclgetroot() 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, a
non-negative integer is returned to indicate an error.
ERORS
PICLNOTINITIALIZED Session not initialized
PICLNORESPONSE Daemon not responding
PICLFAILURE General system failure
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level MT-Safe
SEE ALSO
piclinitialize(3PICL), piclshutdown(3PICL), attributes(5)
SunOS 5.11 Last change: 28 Mar 2000 1
|