PICL Library Functions piclgetfrutreeparent(3PICL)
NAME
piclgetfrutreeparent - get frutree parent node for a
given device node
SYNOPSIS
cc [ flag... ] file... -lpicl [ library... ]
#include
int piclgetfrutreeparent(piclnodehdlt devh,
piclnodehdlt *frutreeh);
DESCRIPTION
The devices under the /platform subtree of the PICLTRE are
linked to their FRU containers represented in the /frutree
using PICL reference properties. The
piclgetfrutreeparent() function returns the handle of the
node in the /frutree subtree that is the FRU parent or con-
tainer of the the device specified by the node handle, devh.
The handle is returned in the frutreeh argument.
RETURN VALUES
Upon successful completion, 0 is returned. Otherwise a non-
negative integer is returned to indicate an error.
ERORS
PICLFAILURE General system failure
PICLINVALIDHANDLE Invalid handle
PICLPROPNOTFOUND Property not found
PICLSTALEHANDLE Stale handle
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 5 Feb 2004 1
PICL Library Functions piclgetfrutreeparent(3PICL)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Evolving
MT-Level MT-Safe
SEE ALSO
piclgetpropinfo(3PICL), piclgetpropval(3PICL),
piclgetpropvalbyname(3PICL),
piclgetpropbyname(3PICL), attributes(5)
SunOS 5.11 Last change: 5 Feb 2004 2
|