table of contents
other versions
- jessie 3.16.56-1+deb8u1
PARPORT_CLAIM(9) | Parallel Port Devices | PARPORT_CLAIM(9) |
NAME¶
parport_claim - claim access to a parallel port deviceSYNOPSIS¶
int
parport_claim(struct pardevice * dev);
ARGUMENTS¶
devpointer to structure representing a device on the
port
DESCRIPTION¶
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.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |