ieee1284_set_timeout man page on Scientific
[printable version]
IEEE1284_SET_TIMEOUT(3) Functions IEEE1284_SET_TIMEOUT(3)
NAME
ieee1284_set_timeout - modify inactivity timeout
SYNOPSIS
#include <ieee1284.h>
struct timeval *ieee1284_set_timeout(struct parport *port,
struct timeval *timeout);
DESCRIPTION
This function sets a new value for the inactivity timeout (used for
block transfer functions), and returns the old value.
The port must be claimed.
The timeout parameter may be NULL, in which case the old value is left
unchanged.
RETURN VALUE
This function returns a pointer to a struct timeval representing the
old value. This uses the same storage as the port structure, and so is
not valid after closing the port.
NOTES
Note that this is an inactivity time-out, not an absolute time-out.
During a data transfer, if the peripheral is inactive for the length of
time specified then the host gives up.
It is also advisory; no guarantee is made that the transfer will ever
complete.
AUTHOR
Tim Waugh <twaugh@redhat.com>
Author.
COPYRIGHT
Copyright © 2001-2003 Tim Waugh
[FIXME: source] 11/23/2010 IEEE1284_SET_TIMEOUT(3)
[top]
List of man pages available for Scientific
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|