1picl_get_root(3PICL) PICL Library Functions picl_get_root(3PICL)
2
3
4
6 picl_get_root - get the root handle of the PICL tree
7
9 cc [ flag... ] file... -lpicl [ library... ]
10 #include <picl.h>
11
12 int picl_get_root(picl_nodehdl_t *nodehandle);
13
14
16 The picl_get_root() function gets the handle of the root node of the
17 PICL tree and copies it into the location given by nodehandle.
18
20 Upon successful completion, 0 is returned. On failure, a non-negative
21 integer is returned to indicate an error.
22
24 PICL_NOTINITIALIZED Session not initialized
25
26
27 PICL_NORESPONSE Daemon not responding
28
29
30 PICL_FAILURE General system failure
31
32
34 See attributes(5) for descriptions of the following attributes:
35
36
37
38
39 ┌─────────────────────────────┬─────────────────────────────┐
40 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
41 ├─────────────────────────────┼─────────────────────────────┤
42 │MT-Level │MT-Safe │
43 └─────────────────────────────┴─────────────────────────────┘
44
46 picl_initialize(3PICL), picl_shutdown(3PICL), attributes(5)
47
48
49
50SunOS 5.11 28 Mar 2000 picl_get_root(3PICL)