cdev_del(9)

cdev_del9

Remove a cdev from the system

Usage

void cdev_del(struct cdev * p);

Arguments

p

the cdev structure to be removed

Overview

cdev_del removes p from the system, possibly freeing the structure itself.

Note

This guarantees that cdev device will no longer be able to be opened, however any cdevs already open will remain and their fops will still be callable even after cdev_del returns.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.