PARPORT_WAIT_EVENT

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

parport_wait_event - wait for an event on a parallel port  

SYNOPSIS

"SYNOPSIS"

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 one immediately. If it times out, it returns a value greater than zero. 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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 13:31:43 GMT, October 06, 2005