suse man page for ieee1284_set_timeout

Query: ieee1284_set_timeout

OS: suse

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 (C) 2001-2003 Tim Waugh 09/18/2007 IEEE1284_SET_TIMEOUT(3)
Related Man Pages
ieee1284_byte_read(3) - debian
ieee1284_ecp_read_addr(3) - debian
ieee1284_data_dir(3) - centos
ieee1284_data_dir(3) - suse
ieee1284_write_data(3) - suse
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Grant unprivileged user rights to see the output of echo|format but not modify disks
Cut command on RHEL 6.8 compatibility issues
A (ksh) Library For and From UNIX.com
32 bit process addressing more than 4GB