diff options
author | Bruce Evans <bde@FreeBSD.org> | 1995-07-21 22:52:01 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1995-07-21 22:52:01 +0000 |
commit | 2ce42987d3ee48eeab510a217bfbdd94847bd649 (patch) | |
tree | e4be4e1778a8e58f2a9891e880360c12d7ebaa9a /sys/kern/tty.c | |
parent | 6644e3061778df73fef0d3a11b9c11e11576fb66 (diff) | |
download | src-2ce42987d3ee48eeab510a217bfbdd94847bd649.tar.gz src-2ce42987d3ee48eeab510a217bfbdd94847bd649.zip |
Notes
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r-- | sys/kern/tty.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 07624d38a351..8efe14b3ba14 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)tty.c 8.8 (Berkeley) 1/21/94 - * $Id: tty.c,v 1.53 1995/07/21 17:30:12 bde Exp $ + * $Id: tty.c,v 1.54 1995/07/21 20:52:38 bde Exp $ */ /*- @@ -1157,11 +1157,22 @@ ttyflush(tp, rw) * Copy in the default termios characters. */ void +termioschars(t) + struct termios *t; +{ + + bcopy(ttydefchars, t->c_cc, sizeof t->c_cc); +} + +/* + * Old interface. + */ +void ttychars(tp) struct tty *tp; { - bcopy(ttydefchars, tp->t_cc, sizeof(ttydefchars)); + termioschars(&tp->t_termios); } /* |