Rechercher une page de manuel
parport_wait_event
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
parport_wait_event - wait for an event on a parallel portSYNOPSIS
- int parport_wait_event(struct parport * port, signed long timeout);
ARGUMENTS
port
- port to wait on
timeout
- time to wait (in jiffies)
DESCRIPTION
This function waits for up to timeout jiffies for an interrupt to occur on a parallel port. If the port timeout is set to zero, it returns immediately.
If an interrupt occurs before the timeout period elapses, this function returns zero immediately. If it times out, it returns one. An error code less than zero indicates an error (most likely a pending signal), and the calling code should finish what it's doing as soon as it can.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre