Query: getminor
OS: opensolaris
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
getminor(9F) Kernel Functions for Drivers getminor(9F)NAMEgetminor - get minor device numberSYNOPSIS#include <sys/types.h> #include <sys/mkdev.h> #include <sys/ddi.h> minor_t getminor(dev_t dev);INTERFACE LEVELArchitecture independent level 1 (DDI/DKI).PARAMETERSdev Device number.DESCRIPTIONThe getminor() function extracts the minor number from a device number.RETURN VALUESThe minor number.CONTEXTThe getminor() function can be called from user, interrupt, or kernel context.EXAMPLESSee the getmajor(9F) manual page for an example of how to use getminor().SEE ALSOgetmajor(9F), makedevice(9F) Writing Device DriversWARNINGSNo validity checking is performed. If dev is invalid, an invalid number is returned. SunOS 5.11 16 Jan 2006 getminor(9F)
Related Man Pages |
---|
getmajor(9f) - mojave |
getmajor(9f) - php |
getmajor(9f) - debian |
getmajor(9f) - v7 |
getmajor(9f) - posix |
Similar Topics in the Unix Linux Community |
---|
Where can I find Linux functions corresponding to the Solaris DDI? |