centos man page for cdev_init

Query: cdev_init

OS: centos

Section: 9

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

CDEV_INIT(9)							   Char devices 						      CDEV_INIT(9)

NAME
cdev_init - initialize a cdev structure
SYNOPSIS
void cdev_init(struct cdev * cdev, const struct file_operations * fops);
ARGUMENTS
cdev the 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
Kernel Hackers Manual 3.10 June 2014 CDEV_INIT(9)
Related Man Pages
ccw_device_start_key(9) - centos
destroy_dev(9) - debian
ccw_device_start_key(9) - suse
ccw_device_start_timeout(9) - suse
debugfs_create_file(9) - suse
Similar Topics in the Unix Linux Community
Use of cdev_alloc function