table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
__UNREGISTER_CHRDEV(9) | Char devices | __UNREGISTER_CHRDEV(9) |
NAME¶
__unregister_chrdev - unregister and destroy a cdevSYNOPSIS¶
void
__unregister_chrdev(unsigned int major,
unsigned int baseminor,
unsigned int count,
const char * name);
ARGUMENTS¶
majormajor device number
baseminor
first of the range of minor numbers
count
the number of minor numbers this cdev is occupying
name
name of this range of devices
DESCRIPTION¶
Unregister and destroy the cdev occupying the region described by major, baseminor and count. This function undoes what __register_chrdev did.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |