1ptree_get_propinfo_by_namPeI(C3LPIPClLuTgR-EIEn)LibraprtyreFeu_ngcetti_opnrsopinfo_by_name(3PICLTREE)
2
3
4
6 ptree_get_propinfo_by_name - get property information and handle of
7 named property
8
10 cc [ flag... ] file... -lpicltree [ library... ]
11 #include <picltree.h>
12
13 int ptree_get_propinfo_by_name(picl_nodehdl_t nodeh,
14 const char *pname, ptree_propinfo_t *pinfo,
15 picl_prophdl_t *proph);
16
17
19 The ptree_get_propinfo_by_name() function copies the property informa‐
20 tion of the property specified by pname in the node nodeh into the
21 location given by pinfo. The handle of the property is returned in the
22 location proph.
23
25 Upon successful completion, 0 is returned. On failure, a non-negative
26 integer is returned to indicate an error.
27
29 PICL_NOTNODE Not a node
30
31
32 PICL_PROPNOTFOUND Property not found
33
34
35 PICL_RESERVEDNAME Reserved property name specified
36
37
38 PICL_INVALIDHANDLE Invalid handle
39
40
41 PICL_STALEHANDLE Stale handle
42
43
44 PICL_FAILURE General system failure
45
46
48 See attributes(5) for descriptions of the following attributes:
49
50
51
52
53 ┌─────────────────────────────┬─────────────────────────────┐
54 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
55 ├─────────────────────────────┼─────────────────────────────┤
56 │Interface Stability │Evolving │
57 ├─────────────────────────────┼─────────────────────────────┤
58 │MT-Level │MT-Safe │
59 └─────────────────────────────┴─────────────────────────────┘
60
62 picl_get_propinfo(3PICL), picl_get_prop_by_name(3PICL), attributes(5)
63
64
65
66SunOS 5.11 1 Aug 20p0t0ree_get_propinfo_by_name(3PICLTREE)