Man Page: alloc_chrdev_region
Operating Environment: centos
Section: 9
ALLOC_CHRDEV_REGION(9) Char devices ALLOC_CHRDEV_REGION(9)NAMEalloc_chrdev_region - register a range of char device numbersSYNOPSISint alloc_chrdev_region(dev_t * dev, unsigned baseminor, unsigned count, const char * name);ARGUMENTSdev output parameter for first assigned number baseminor first of the requested range of minor numbers count the number of minor numbers required name the name of the associated device or driverDESCRIPTIONAllocates a range of char device numbers. The major number will be chosen dynamically, and returned (along with the first minor number) in dev. Returns zero or a negative error code.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ALLOC_CHRDEV_REGION(9)
| Related Man Pages |
|---|
| makedev(3) - freebsd |
| fdformat(8) - redhat |
| gnu_dev_major(3) - debian |
| minor(3) - debian |
| gnu_dev_minor(3) - centos |
| Similar Topics in the Unix Linux Community |
|---|
| device number registration |