diff options
author | ache <ache@FreeBSD.org> | 1995-01-05 00:01:07 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-01-05 00:01:07 +0000 |
commit | 7f9dfa2a43bd731a921618c72edad121f1854a1d (patch) | |
tree | d4ff4b85e6fc8d40944cd83ff263766475a7abae /sys/sys/tty.h | |
parent | 55e3943ae8bd7aceb8ab1f585ad860a59f5ce59f (diff) | |
download | FreeBSD-src-7f9dfa2a43bd731a921618c72edad121f1854a1d.zip FreeBSD-src-7f9dfa2a43bd731a921618c72edad121f1854a1d.tar.gz |
Fight against hanging modems: add timeout to ttywait.
Reviewed by: Bruce
Diffstat (limited to 'sys/sys/tty.h')
-rw-r--r-- | sys/sys/tty.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/tty.h b/sys/sys/tty.h index 275c7f9..60a2daa 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. */ |