Deleted Added
full compact
tty.c (1542) tty.c (1549)
1/*-
2 * Copyright (c) 1982, 1986, 1990, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 1341 unchanged lines hidden (view full) ---

1350 * Process a write call on a tty device.
1351 */
1352int
1353ttwrite(tp, uio, flag)
1354 register struct tty *tp;
1355 register struct uio *uio;
1356 int flag;
1357{
1/*-
2 * Copyright (c) 1982, 1986, 1990, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 1341 unchanged lines hidden (view full) ---

1350 * Process a write call on a tty device.
1351 */
1352int
1353ttwrite(tp, uio, flag)
1354 register struct tty *tp;
1355 register struct uio *uio;
1356 int flag;
1357{
1358 register char *cp;
1358 register char *cp = 0;
1359 register int cc, ce;
1360 register struct proc *p;
1361 int i, hiwat, cnt, error, s;
1362 char obuf[OBUFSIZ];
1363
1364 hiwat = tp->t_hiwat;
1365 cnt = uio->uio_resid;
1366 error = 0;

--- 557 unchanged lines hidden ---
1359 register int cc, ce;
1360 register struct proc *p;
1361 int i, hiwat, cnt, error, s;
1362 char obuf[OBUFSIZ];
1363
1364 hiwat = tp->t_hiwat;
1365 cnt = uio->uio_resid;
1366 error = 0;

--- 557 unchanged lines hidden ---