From 33c38bd57424b5403e3c312a6c1f0bcc2e6c5c2b Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Thu, 5 Jan 1995 00:01:07 +0000 Subject: Fight against hanging modems: add timeout to ttywait. Reviewed by: Bruce --- sys/sys/tty.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/sys/tty.h') 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. */ -- cgit v1.2.3