MAKEDEV(3) | NetBSD Library Functions Manual | MAKEDEV(3) |
dev_t
makedev(int major, int minor);
int
major(dev_t dev);
int
minor(dev_t dev);
All block and character devices are uniquely identified by a pair of major and minor numbers. The major number refers to a certain device class (e.g. disks, TTYs) while the minor number identifies an instance within the device class.
April 1, 2011 | NetBSD 5.99 |