struct parport * parport_find_number (int number);
This returns the parallel port with the specified number, or NULL if there is none.
There is an implicit parport_get_port done already; to throw away the reference to the port that parport_find_number gives you, use parport_put_port.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
If you have comments on the formatting of this manpage, then please contact Michael Still (mikal@stillhq.com).
This documentation was generated with kernel version 2.5.70.