1CDEV_INIT(9)                     Char devices                     CDEV_INIT(9)
2
3
4

NAME

6       cdev_init - initialize a cdev structure
7

SYNOPSIS

9       void cdev_init(struct cdev * cdev,
10                      const struct file_operations * fops);
11

ARGUMENTS

13       cdev
14           the structure to initialize
15
16       fops
17           the file_operations for this device
18

DESCRIPTION

20       Initializes cdev, remembering fops, making it ready to add to the
21       system with cdev_add.
22
24Kernel Hackers Manual 2.6.         June 2019                      CDEV_INIT(9)
Impressum