Query: parport_claim
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PARPORT_CLAIM(9) Parallel Port Devices PARPORT_CLAIM(9)NAMEparport_claim - claim access to a parallel port deviceSYNOPSISint parport_claim(struct pardevice * dev);ARGUMENTSdev pointer to structure representing a device on the portDESCRIPTIONThis 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.COPYRIGHTKernel Hackers Manual 2.6. July 2010 PARPORT_CLAIM(9)