Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

unregister_chrdev_region(9) [centos man page]

UNREGISTER_CHRDEV_RE(9) 					   Char devices 					   UNREGISTER_CHRDEV_RE(9)

unregister_chrdev_region - return a range of device numbers SYNOPSIS
void unregister_chrdev_region(dev_t from, unsigned count); ARGUMENTS
from the first in the range of numbers to unregister count the number of device numbers to unregister DESCRIPTION
This function will unregister a range of count device numbers, starting with from. The caller should normally be the one who allocated those numbers in the first place... COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 UNREGISTER_CHRDEV_RE(9)

Check Out this Related Man Page

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

makedevice - make device number from major and minor numbers SYNOPSIS
#include <sys/types.h> #include <sys/mkdev.h> #include <sys/ddi.h> dev_t makedevice(major_t majnum, minor_t minnum); INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI). PARAMETERS
majnum Major device number. minnum Minor device number. DESCRIPTION
makedevice() creates a device number from a major and minor device number. makedevice() should be used to create device numbers so the driver will port easily to releases that treat device numbers differently. RETURN VALUES
The device number, containing both the major number and the minor number, is returned. No validation of the major or minor numbers is per- formed. CONTEXT
makedevice() can be called from user or interrupt context. SEE ALSO
getmajor(9F), getminor(9F) SunOS 5.10 11 Apr 1991 makedevice(9F)
Man Page