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 PICL_GET_NEXT_BY_ROW 3PICL "Mar 28, 2000"
8 picl_get_next_by_row, picl_get_next_by_col \- access a table property
12 \fBcc\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lpicl\fR [ \fIlibrary\fR... ]
15 \fBint\fR \fBpicl_get_next_by_row\fR(\fBpicl_prophdl_t\fR \fIproph\fR,
16 \fBpicl_prophdl_t *\fR\fIcolh\fR);
21 \fBint\fR \fBpicl_get_next_by_col\fR(\fBpicl_prophdl_t\fR \fIproph\fR,
22 \fBpicl_prophdl_t *\fR\fIcolh\fR);
28 The \fBpicl_get_next_by_row()\fR function copies the handle of the property
29 that is in the next column of the table and on the same row as the property
30 \fIproph\fR. The handle is copied into the location given by \fIrowh\fR.
33 The \fBpicl_get_next_by_col()\fR function copies the handle of the property
34 that is in the next row of the table and on the same column as the property
35 \fIproph\fR. The handle is copied into the location given by \fIcolh\fR.
38 If there are no more rows or columns, this function returns the value
43 Upon successful completion, \fB0\fR is returned. On failure, a non-negative
44 integer is returned to indicate an error.
47 \fBPICL_STALEHANDLE\fR is returned if the handle is no longer valid. This
48 occurs if the PICL tree was refreshed or reinitialized.
51 \fBPICL_INVALIDHANDLE\fR is returned if the specified handle never existed.
52 This error may be returned for a previously valid handle if the daemon was
53 brought down and restarted. When this occurs a client must revalidate any saved
59 \fB\fBPICL_NOTINITIALIZED\fR\fR
62 Session not initialized
68 \fB\fBPICL_NORESPONSE\fR\fR
77 \fB\fBPICL_NOTTABLE\fR\fR
86 \fB\fBPICL_INVALIDHANDLE\fR\fR
95 \fB\fBPICL_STALEHANDLE\fR\fR
104 \fB\fBPICL_FAILURE\fR\fR
107 General system failure
113 \fB\fBPICL_ENDOFLIST\fR\fR
116 General system failure
122 See \fBattributes\fR(5) for descriptions of the following attributes:
130 ATTRIBUTE TYPE ATTRIBUTE VALUE
138 \fBpicl_get_propval\fR(3PICL), \fBattributes\fR(5)