InomHitta mer dokumentationSupportresurser som ingår | Ladda ner denna bok i PDF (3618 KB)
getminor(9F)Name | Synopsis | Interface Level | Parameters | Description | Return Values | Context | Examples | See Also | Warnings Name
Synopsis#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). ParametersDescriptionThe 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 AlsoWarningsNo validity checking is performed. If dev is invalid, an invalid number is returned. Name | Synopsis | Interface Level | Parameters | Description | Return Values | Context | Examples | See Also | Warnings |