suse man page for alloc_chrdev_region

Query: alloc_chrdev_region

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ALLOC_CHRDEV_REGION(9)						   Char devices 					    ALLOC_CHRDEV_REGION(9)

NAME
alloc_chrdev_region - register a range of char device numbers
SYNOPSIS
int alloc_chrdev_region(dev_t * dev, unsigned baseminor, unsigned count, const char * name);
ARGUMENTS
dev 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 driver
DESCRIPTION
Allocates 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.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 ALLOC_CHRDEV_REGION(9)
Related Man Pages
gnu_dev_makedev(3) - debian
major(3) - debian
gnu_dev_major(3) - centos
gnu_dev_minor(3) - centos
major(3) - freebsd
Similar Topics in the Unix Linux Community
device number registration