PARPORT_FIND_CLASS

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

parport_find_class - find a device in a specified class  

SYNOPSIS

"SYNOPSIS"

int parport_find_class (parport_device_class cls, int from);  

ARGUMENTS

cls
required class
from
previous device number found in search, or NULL for new search
 

DESCRIPTION

This walks through the list of parallel port devices looking for a device whose 'CLS' string matches cls in their IEEE 1284 Device ID.

When a device is found matching those requirements, its device number is returned; if there is no matching device, a negative value is returned.

A new search it initiated by passing NULL as the from argument. If from is not NULL, the search continues from that device.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 06:21:02 GMT, October 06, 2005