1ptree_get_next_by_row(3PIPCILCTLREPEl)ug-In Library Fupntcrteieo_ngset_next_by_row(3PICLTREE)
2
3
4

NAME

6       ptree_get_next_by_row, ptree_get_next_by_col - access a table property
7

SYNOPSIS

9       cc [ flag... ] file... -lpicltree [ library... ]
10       #include <picltree.h>
11
12       int ptree_get_next_by_row(picl_prophdl_t proph,
13            picl_prophdl_t *rowh);
14
15
16       int ptree_get_next_by_col(picl_prophdl_t proph,
17            picl_prophdl_t *colh);
18
19

DESCRIPTION

21       The  ptree_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  ptree_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

ERRORS

46       PICL_NOTTABLE         Not a table
47
48
49       PICL_INVALIDHANDLE    Invalid handle
50
51
52       PICL_STALEHANDLE      Stale handle
53
54
55       PICL_ENDOFLIST        End of list
56
57
58       PICL_FAILURE          General system failure
59
60

ATTRIBUTES

62       See attributes(5) for descriptions of the following attributes:
63
64
65
66
67       ┌─────────────────────────────┬─────────────────────────────┐
68       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
69       ├─────────────────────────────┼─────────────────────────────┤
70       │Interface Stability          │Evolving                     │
71       ├─────────────────────────────┼─────────────────────────────┤
72       │MT-Level                     │MT-Safe                      │
73       └─────────────────────────────┴─────────────────────────────┘
74

SEE ALSO

76       ptree_create_table(3PICLTREE), attributes(5)
77
78
79
80SunOS 5.11                        28 Mar 2000 ptree_get_next_by_row(3PICLTREE)
Impressum