PARPORT_OPEN

Section: Parallel Port Devices (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

parport_open - find a device by canonical device number  

SYNOPSIS

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

ARGUMENTS

devnum

canonical device number

name

name to associate with the device
 

DESCRIPTION

This function is similar to parport_register_device, except that it locates a device by its number rather than by the port it is attached to.

All parameters except for devnum are the same as for parport_register_device. The return value is the same as for parport_register_device.  

COPYRIGHT