aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/tty.h
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-01-05 00:01:07 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-01-05 00:01:07 +0000
commit33c38bd57424b5403e3c312a6c1f0bcc2e6c5c2b (patch)
treed4ff4b85e6fc8d40944cd83ff263766475a7abae /sys/sys/tty.h
parentb77430dcb01156da692f60983016a1b9a20d501c (diff)
downloadsrc-33c38bd57424b5403e3c312a6c1f0bcc2e6c5c2b.tar.gz
src-33c38bd57424b5403e3c312a6c1f0bcc2e6c5c2b.zip
Fight against hanging modems: add timeout to ttywait.
Reviewed by: Bruce
Notes
Notes: svn path=/head/; revision=5396
Diffstat (limited to 'sys/sys/tty.h')
-rw-r--r--sys/sys/tty.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/tty.h b/sys/sys/tty.h
index 275c7f92b21f..60a2daa19ce3 100644
--- a/sys/sys/tty.h
+++ b/sys/sys/tty.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)tty.h 8.6 (Berkeley) 1/21/94
- * $Id: tty.h,v 1.6 1994/10/02 17:25:02 phk Exp $
+ * $Id: tty.h,v 1.7 1994/11/26 19:24:13 bde Exp $
*/
#ifndef _SYS_TTY_H_
@@ -76,6 +76,7 @@ struct tty {
dev_t t_dev; /* Device. */
int t_state; /* Device and driver (TS*) state. */
int t_flags; /* Tty flags. */
+ int t_timeout; /* Timeout for ttywait() */
struct pgrp *t_pgrp; /* Foreground process group. */
struct session *t_session; /* Enclosing session. */
struct selinfo t_rsel; /* Tty read/oob select. */