1picl_get_frutree_parent(3PICLP)ICL Library Functionpsicl_get_frutree_parent(3PICL)
2
3
4

NAME

6       picl_get_frutree_parent  -  get  frutree parent node for a given device
7       node
8

SYNOPSIS

10       cc [ flag... ] file... -lpicl [ library... ]
11       #include <picl.h>
12
13       int picl_get_frutree_parent(picl_nodehdl_t devh,
14            picl_nodehdl_t *frutreeh);
15
16

DESCRIPTION

18       The devices under the /platform subtree of the PICLTREE are  linked  to
19       their  FRU  containers represented in the /frutree using PICL reference
20       properties. The picl_get_frutree_parent() function returns  the  handle
21       of the node in the /frutree subtree that is the FRU parent or container
22       of the the device specified by the node handle,  devh.  The  handle  is
23       returned in the frutreeh argument.
24

RETURN VALUES

26       Upon  successful  completion,  0  is returned. Otherwise a non-negative
27       integer is returned to indicate an error.
28

ERRORS

30       PICL_FAILURE          General system failure
31
32
33       PICL_INVALIDHANDLE    Invalid handle
34
35
36       PICL_PROPNOTFOUND     Property not found
37
38
39       PICL_STALEHANDLE      Stale handle
40
41

ATTRIBUTES

43       See attributes(5) for descriptions of the following attributes:
44
45
46
47
48       ┌─────────────────────────────┬─────────────────────────────┐
49       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
50       ├─────────────────────────────┼─────────────────────────────┤
51       │Interface Stability          │Evolving                     │
52       ├─────────────────────────────┼─────────────────────────────┤
53       │MT-Level                     │MT-Safe                      │
54       └─────────────────────────────┴─────────────────────────────┘
55

SEE ALSO

57       picl_get_propinfo(3PICL),    picl_get_propval(3PICL),    picl_get_prop‐
58       val_by_name(3PICL), picl_get_prop_by_name(3PICL), attributes(5)
59
60
61
62SunOS 5.11                        5 Feb 2004    picl_get_frutree_parent(3PICL)
Impressum