2 .\" Copyright (c) 2000, Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH PTREE_GET_PROPINFO_BY_NAME 3PICLTREE "Aug 1, 2000"
8 ptree_get_propinfo_by_name \- get property information and handle of named
13 \fBcc\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lpicltree\fR [ \fIlibrary\fR... ]
16 \fBint\fR \fBptree_get_propinfo_by_name\fR(\fBpicl_nodehdl_t\fR \fInodeh\fR,
17 \fBconst char *\fR\fIpname\fR, \fBptree_propinfo_t *\fR\fIpinfo\fR,
18 \fBpicl_prophdl_t *\fR\fIproph\fR);
24 The \fBptree_get_propinfo_by_name()\fR function copies the property information
25 of the property specified by \fIpname\fR in the node \fInodeh\fR into the
26 location given by \fIpinfo\fR. The handle of the property is returned in the
31 Upon successful completion, \fB0\fR is returned. On failure, a non-negative
32 integer is returned to indicate an error.
37 \fB\fBPICL_NOTNODE\fR\fR
46 \fB\fBPICL_PROPNOTFOUND\fR\fR
55 \fB\fBPICL_RESERVEDNAME\fR\fR
58 Reserved property name specified
64 \fB\fBPICL_INVALIDHANDLE\fR\fR
73 \fB\fBPICL_STALEHANDLE\fR\fR
82 \fB\fBPICL_FAILURE\fR\fR
85 General system failure
91 See \fBattributes\fR(5) for descriptions of the following attributes:
99 ATTRIBUTE TYPE ATTRIBUTE VALUE
101 Interface Stability Evolving
109 \fBpicl_get_propinfo\fR(3PICL), \fBpicl_get_prop_by_name\fR(3PICL),