---
name: "register_chrdev_region"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/register_chrdev_region"
---

# register\_chrdev\_region(9)

register a range of device numbers

## NAME

register\_chrdev\_region - register a range of device numbers

## SYNOPSIS

**int register\_chrdev\_region(dev\_t** *from***, unsigned** *count***, const char \*** *name***);**

## ARGUMENTS

*from*

the 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
