PICL Plug-In Library Functions
ptreegetfrutreeparent(3PICLTRE)
NAME
ptreegetfrutreeparent - get frutree parent node for a
given device node
SYNOPSIS
cc [ flag... ] file... -lpicltree [ library... ]
#include
int ptreegetfrutreeparent(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
ptreegetfrutreeparent() function returns the handle of
the node in the /frutree subtree that is the FRU parent or
container 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 Plug-In Library Functions
ptreegetfrutreeparent(3PICLTRE)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Evolving
MT-Level MT-Safe
SEE ALSO
ptreegetpropinfo(3PICLTRE), ptreegetpropval(3PICLTRE),
ptreegetpropvalbyname(3PICLTRE),
ptreegetpropbyname(3PICLTRE), attributes(5)
SunOS 5.11 Last change: 5 Feb 2004 2
PICL Plug-In Library Functions
ptreegetfrutreeparent(3PICLTRE)
SunOS 5.11 Last change: 5 Feb 2004 3
|