table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
REGISTER_CHRDEV_REGI(9) | Char devices | REGISTER_CHRDEV_REGI(9) |
NAME¶
register_chrdev_region - register a range of device numbersSYNOPSIS¶
int register_chrdev_region(dev_t from,
unsigned count,
const char * name);
ARGUMENTS¶
fromthe first in the desired range of device numbers; must
include the major number.
count
the number of consecutive device numbers required
name
the name of the device or driver.
DESCRIPTION¶
Return value is zero on success, a negative error code on failure.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |