'\" te .\" Copyright (c) 2000, Sun Microsystems, Inc. All Rights Reserved. .TH picl_get_root 3PICL "28 Mar 2000" "SunOS 5.11" "PICL Library Functions" .SH NAME picl_get_root \- get the root handle of the PICL tree .SH SYNOPSIS .LP .nf \fBcc\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lpicl\fR [ \fIlibrary\fR... ] #include \fBint\fR \fBpicl_get_root\fR(\fBpicl_nodehdl_t *\fR\fInodehandle\fR); .fi .SH DESCRIPTION .sp .LP The \fBpicl_get_root()\fR function gets the handle of the root node of the PICL tree and copies it into the location given by \fInodehandle\fR. .SH RETURN VALUES .sp .LP Upon successful completion, \fB0\fR is returned. On failure, a non-negative integer is returned to indicate an error. .SH ERRORS .sp .ne 2 .mk .na \fB\fBPICL_NOTINITIALIZED\fR\fR .ad .RS 23n .rt Session not initialized .RE .sp .ne 2 .mk .na \fB\fBPICL_NORESPONSE\fR\fR .ad .RS 23n .rt Daemon not responding .RE .sp .ne 2 .mk .na \fB\fBPICL_FAILURE\fR\fR .ad .RS 23n .rt General system failure .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ MT-LevelMT-Safe .TE .SH SEE ALSO .sp .LP \fBpicl_initialize\fR(3PICL), \fBpicl_shutdown\fR(3PICL), \fBattributes\fR(5)