1PARPORT_OPEN(9)              Parallel Port Devices             PARPORT_OPEN(9)
2
3
4

NAME

6       parport_open - find a device by canonical device number
7

SYNOPSIS

9       struct pardevice * parport_open(int devnum, const char * name);
10

ARGUMENTS

12       devnum
13           canonical device number
14
15       name
16           name to associate with the device
17

DESCRIPTION

19       This function is similar to parport_register_device, except that it
20       locates a device by its number rather than by the port it is attached
21       to.
22
23       All parameters except for devnum are the same as for
24       parport_register_device. The return value is the same as for
25       parport_register_device.
26
28Kernel Hackers Manual 2.6.       November 2011                 PARPORT_OPEN(9)
Impressum