1PARPORT_CLAIM_OR_BLO(9) Parallel Port Devices PARPORT_CLAIM_OR_BLO(9)
2
3
4
6 parport_claim_or_block - claim access to a parallel port device
7
9 int parport_claim_or_block(struct pardevice * dev);
10
12 dev
13 pointer to structure representing a device on the port
14
16 This behaves like parport_claim, but will block if necessary to wait
17 for the port to be free. A return value of 1 indicates that it slept; 0
18 means that it succeeded without needing to sleep. A negative error code
19 indicates failure.
20
22Kernel Hackers Manual 2.6. November 2011 PARPORT_CLAIM_OR_BLO(9)