#include <sys/types.h> #include <sys/mkdev.h> #include <sys/ddi.h> minor_t getminor(dev_t dev);
Architecture independent level 1 (DDI/DKI).
getminor() can be called from user or interrupt context.
See the getmajor(9F) manual page for an example of how to use getminor.
No validity checking is performed. If dev is invalid, an invalid number is returned.