getdevice
Description:
A process calls getdevice to access a device specified by its major and minor numbers. The process can then perform I/O-operations on the device using writedevice or readdevice.
Function Prototype:
struct s_device getdevice (unsigned char major, unsigned char minor);
Parameters:
major, minor
(See kernel/dev.c for more)
Return Values: