sunos man page for ddi_get_parent

Query: ddi_get_parent

OS: sunos

Section: 9f

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ddi_get_parent(9F)					   Kernel Functions for Drivers 					ddi_get_parent(9F)

NAME
ddi_get_parent - find the parent of a device information structure
SYNOPSIS
#include <sys/ddi.h> #include <sys/sunddi.h> dev_info_t *ddi_get_parent(dev_info_t *dip);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
PARAMETERS
dip Pointer to a device information structure.
DESCRIPTION
ddi_get_parent() returns a pointer to the device information structure which is the parent of the one pointed to by dip.
RETURN VALUES
ddi_get_parent() returns a pointer to a device information structure.
CONTEXT
ddi_get_parent() can be called from user or interrupt context.
SEE ALSO
Writing Device Drivers SunOS 5.10 5 Oct 1991 ddi_get_parent(9F)
Related Man Pages
ddi_dev_is_sid(9f) - mojave
ddi_dev_is_sid(9f) - x11r4
ddi_dev_is_sid(9f) - suse
ddi_dev_is_sid(9f) - bsd
ddi_dev_is_sid(9f) - plan9
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Once upon an uptime.
How do I remove or hide SunOS version/release from remote login prompt?
Best performance UNIX just for HOST Virtualization?
UNIX Environment Setup - (Just starting!)