table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
CDEV_INIT(9) | Char devices | CDEV_INIT(9) |
NAME¶
cdev_init - initialize a cdev structureSYNOPSIS¶
void
cdev_init(struct cdev * cdev,
const struct file_operations * fops);
ARGUMENTS¶
cdevthe structure to initialize
fops
the file_operations for this device
DESCRIPTION¶
Initializes cdev, remembering fops, making it ready to add to the system with cdev_add.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |