1IEEE1284_SET_TIMEOUT(3)            Functions           IEEE1284_SET_TIMEOUT(3)
2
3
4

NAME

6       ieee1284_set_timeout - modify inactivity timeout
7

SYNOPSIS

9       #include <ieee1284.h>
10
11       struct timeval *ieee1284_set_timeout(struct parport *port,
12                                            struct timeval *timeout);
13

DESCRIPTION

15       This function sets a new value for the inactivity timeout (used for
16       block transfer functions), and returns the old value.
17
18       The port must be claimed.
19
20       The timeout parameter may be NULL, in which case the old value is left
21       unchanged.
22

RETURN VALUE

24       This function returns a pointer to a struct timeval representing the
25       old value. This uses the same storage as the port structure, and so is
26       not valid after closing the port.
27

NOTES

29       Note that this is an inactivity time-out, not an absolute time-out.
30       During a data transfer, if the peripheral is inactive for the length of
31       time specified then the host gives up.
32
33       It is also advisory; no guarantee is made that the transfer will ever
34       complete.
35

AUTHOR

37       Tim Waugh <twaugh@redhat.com>
38           Author.
39
41       Copyright © 2001-2003 Tim Waugh
42
43
44
45[FIXME: source]                   07/14/2018           IEEE1284_SET_TIMEOUT(3)
Impressum