1PARPORT_CLAIM_OR_BLO(9)      Parallel Port Devices     PARPORT_CLAIM_OR_BLO(9)
2
3
4

NAME

6       parport_claim_or_block - claim access to a parallel port device
7

SYNOPSIS

9       int parport_claim_or_block(struct pardevice * dev);
10

ARGUMENTS

12       dev
13           pointer to structure representing a device on the port
14

DESCRIPTION

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 3.10         June 2019           PARPORT_CLAIM_OR_BLO(9)
Impressum