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

NAME

6       parport_claim - claim access to a parallel port device
7

SYNOPSIS

9       int parport_claim(struct pardevice * dev);
10

ARGUMENTS

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

DESCRIPTION

16       This function will not block and so can be used from interrupt context.
17       If parport_claim succeeds in claiming access to the port it returns
18       zero and the port is available to use. It may fail (returning non-zero)
19       if the port is in use by another driver and that driver is not willing
20       to relinquish control of the port.
21
23Kernel Hackers Manual 3.10         June 2019                  PARPORT_CLAIM(9)
Impressum