1ptree_get_root(3PICLTREE)PICL Plug-In Library Functionsptree_get_root(3PICLTREE)
2
3
4
6 ptree_get_root - get the root node handle
7
9 cc [ flag... ] file... -lpicltree [ library... ]
10 #include <picltree.h>
11
12 int ptree_get_root(picl_nodehdl_t *nodeh);
13
14
16 The ptree_get_root() function copies the handle of the root node of the
17 PICL tree into the location specified by nodeh.
18
20 Upon successful completion, 0 is returned. On failure, a non-negative
21 integer is returned to indicate an error.
22
24 PICL_INVALIDARG Invalid argument
25
26
27 PICL_FAILURE General system failure
28
29
31 See attributes(5) for descriptions of the following attributes:
32
33
34
35
36 ┌─────────────────────────────┬─────────────────────────────┐
37 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
38 ├─────────────────────────────┼─────────────────────────────┤
39 │Interface Stability │Evolving │
40 ├─────────────────────────────┼─────────────────────────────┤
41 │MT-Level │MT-Safe │
42 └─────────────────────────────┴─────────────────────────────┘
43
45 libpicltree(3PICLTREE), ptree_create_node(3PICLTREE), attributes(5)
46
47
48
49SunOS 5.11 28 Mar 2000 ptree_get_root(3PICLTREE)