Query: ddi_driver_major
OS: sunos
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ddi_driver_major(9F) Kernel Functions for Drivers ddi_driver_major(9F)NAMEddi_driver_major - return driver's major device numberSYNOPSIS#include <sys/ddi.h> #include <sys/sunddi.h> major_t ddi_driver_major(dev_info_t *dip);INTERFACE LEVELSolaris DDI specific (Solaris DDI)DESCRIPTIONddi_driver_major() returns the major device number for the driver associated with the supplied dev_info node. This value can then be used as an argument to makedevice(9F) to construct a complete dev_t.PARAMETERSdip A pointer to the device's dev_info structure.RETURN VALUESddi_driver_major() returns the major number of the driver bound to a device, if any, or DDI_MAJOR_T_NONE otherwise.CONTEXTddi_driver_major() can be called from kernel or interrupt context.SEE ALSOddi_driver_name(9F) Writing Device Drivers SunOS 5.10 18 Jun 2001 ddi_driver_major(9F)
| Related Man Pages |
|---|
| ddi_dev_is_sid(9f) - sunos |
| ddi_get_name(9f) - opensolaris |
| ddi_binding_name(9f) - debian |
| ddi_binding_name(9f) - centos |
| ddi_binding_name(9f) - freebsd |
| Similar Topics in the Unix Linux Community |
|---|
| The 500 Mile Email |
| How do I remove or hide SunOS version/release from remote login prompt? |
| Outputting sequences based on length with sed |
| UNIX Environment Setup - (Just starting!) |