Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #901
Difficulty: Easy
Steve Jobs offered Linus Torvalds a job in 2000, on the condition that he stopped development on Linux.
True or False?
Linux & Unix Commands - Search Man Pages

getminor(9f) [bsd man page]

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

NAME
getminor - get minor device number SYNOPSIS
#include <sys/types.h> #include <sys/mkdev.h> #include <sys/ddi.h> minor_t getminor(dev_t dev); INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI). PARAMETERS
dev Device number. DESCRIPTION
getminor() extracts the minor number from a device number. RETURN VALUES
The minor number. CONTEXT
getminor() can be called from user or interrupt context. EXAMPLES
See the getmajor(9F) manual page for an example of how to use getminor(). SEE ALSO
getmajor(9F), makedevice(9F) Writing Device Drivers WARNINGS
No validity checking is performed. If dev is invalid, an invalid number is returned. SunOS 5.10 11 Apr 1991 getminor(9F)

Check Out this Related Man Page

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

NAME
getminor - get minor device number SYNOPSIS
#include <sys/types.h> #include <sys/mkdev.h> #include <sys/ddi.h> minor_t getminor(dev_t dev); INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI). PARAMETERS
dev Device number. DESCRIPTION
getminor() extracts the minor number from a device number. RETURN VALUES
The minor number. CONTEXT
getminor() can be called from user or interrupt context. EXAMPLES
See the getmajor(9F) manual page for an example of how to use getminor(). SEE ALSO
getmajor(9F), makedevice(9F) Writing Device Drivers WARNINGS
No validity checking is performed. If dev is invalid, an invalid number is returned. SunOS 5.10 11 Apr 1991 getminor(9F)

Featured Tech Videos