parport_claim9
Claim access to a parallel port device
Usage
int parport_claim(struct pardevice * dev);
Arguments
dev
pointer to structure representing a device on the port
Overview
This function will not block and so can be used from interrupt context. If parport_claim succeeds in claiming access to the port it returns zero and the port is available to use. It may fail (returning non-zero) if the port is in use by another driver and that driver is not willing to relinquish control of the port.
Releases
5 releases since Debian 4.0 (Etch); the text changed 4 times.