misc_register(9) suse man page | unix.com

Man Page: misc_register

Operating Environment: suse

Section: 9

MISC_REGISTER(9)					       Miscellaneous Devices						  MISC_REGISTER(9)

NAME
misc_register - register a miscellaneous device
SYNOPSIS
int misc_register(struct miscdevice * misc);
ARGUMENTS
misc device structure
DESCRIPTION
Register a miscellaneous device with the kernel. If the minor number is set to MISC_DYNAMIC_MINOR a minor number is assigned and placed in the minor field of the structure. For other cases the minor number requested is used. The structure passed is linked into the kernel and may not be destroyed until it has been unregistered. A zero is returned on success and a negative errno code for failure.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 MISC_REGISTER(9)
Related Man Pages
makedev(3) - linux
fdformat(8) - centos
gnu_dev_minor(3) - linux
minor(3) - linux
gnu_dev_major(3) - suse
Similar Topics in the Unix Linux Community
Why cannot only the "rtl8139_rx" function be setted breakpoint on whereas the others can?
kernel option errors
Cause PCIe error callbacks using AER injection