1picl_get_next_by_row(3PICL) PICL Library Functions picl_get_next_by_row(3PICL)
2
3
4

NAME

6       picl_get_next_by_row, picl_get_next_by_col - access a table property
7

SYNOPSIS

9       cc [ flag... ] file... -lpicl [ library... ]
10       #include <picl.h>
11
12       int picl_get_next_by_row(picl_prophdl_t proph,
13            picl_prophdl_t *colh);
14
15
16       int picl_get_next_by_col(picl_prophdl_t proph,
17            picl_prophdl_t *colh);
18
19

DESCRIPTION

21       The  picl_get_next_by_row()  function copies the handle of the property
22       that is in the next column of the table and on  the  same  row  as  the
23       property proph. The handle is copied into the location given by rowh.
24
25
26       The  picl_get_next_by_col()  function copies the handle of the property
27       that is in the next row of the table and on  the  same  column  as  the
28       property proph. The handle is copied into the location given by colh.
29
30
31       If  there  are no more rows or columns, this function returns the value
32       PICL_ENDOFLIST.
33

RETURN VALUES

35       Upon successful completion, 0 is returned. On failure,  a  non-negative
36       integer is returned to indicate an error.
37
38
39       PICL_STALEHANDLE  is  returned  if  the handle is no longer valid. This
40       occurs if the PICL tree was refreshed or reinitialized.
41
42
43       PICL_INVALIDHANDLE is returned if the specified handle  never  existed.
44       This  error may be returned for a previously valid handle if the daemon
45       was brought down and restarted. When this occurs a client must  revali‐
46       date any saved handles.
47

ERRORS

49       PICL_NOTINITIALIZED    Session not initialized
50
51
52       PICL_NORESPONSE        Daemon not responding
53
54
55       PICL_NOTTABLE          Not a table
56
57
58       PICL_INVALIDHANDLE     Invalid handle
59
60
61       PICL_STALEHANDLE       Stale handle
62
63
64       PICL_FAILURE           General system failure
65
66
67       PICL_ENDOFLIST         General system failure
68
69

ATTRIBUTES

71       See attributes(5) for descriptions of the following attributes:
72
73
74
75
76       ┌─────────────────────────────┬─────────────────────────────┐
77       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
78       ├─────────────────────────────┼─────────────────────────────┤
79       │MT-Level                     │MT-Safe                      │
80       └─────────────────────────────┴─────────────────────────────┘
81

SEE ALSO

83       picl_get_propval(3PICL), attributes(5)
84
85
86
87SunOS 5.11                        28 Mar 2000      picl_get_next_by_row(3PICL)
Impressum