Provided by: freebsd-manpages_6.2-1_all
devsw - returns the cdevsw structure
struct cdevsw *
The devsw() function returns a pointer to the cdevsw structure associated
with this character device ID. If dev->si_cdevsw is set it is returned;
otherwise, the major(9) offset into the cdevsw array is returned.
Its argument is:
dev The device whose cdevsw entry should be returned.
A pointer to a cdevsw structure.
major(9), minor(9), umajor(9), uminor(9)
This manual page was written by Chad David 〈email@example.com〉.