Deleted Added
full compact
pty.c (12678) pty.c (12731)
1/*
2 * Copyright (c) 1982, 1986, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)tty_pty.c 8.2 (Berkeley) 9/23/93
1/*
2 * Copyright (c) 1982, 1986, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)tty_pty.c 8.2 (Berkeley) 9/23/93
34 * $Id: tty_pty.c,v 1.29 1995/12/08 11:17:09 julian Exp $
34 * $Id: tty_pty.c,v 1.30 1995/12/08 23:21:34 phk Exp $
35 */
36
37/*
38 * Pseudo-teletype Driver
39 * (Actually two drivers, requiring two entries in 'cdevsw')
40 */
41#include "pty.h" /* XXX */
42

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

61void ptcwakeup __P((struct tty *tp, int flag));
62
63static d_open_t ptsopen;
64static d_close_t ptsclose;
65static d_read_t ptsread;
66static d_write_t ptswrite;
67static d_ioctl_t ptyioctl;
68static d_stop_t ptsstop;
35 */
36
37/*
38 * Pseudo-teletype Driver
39 * (Actually two drivers, requiring two entries in 'cdevsw')
40 */
41#include "pty.h" /* XXX */
42

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

61void ptcwakeup __P((struct tty *tp, int flag));
62
63static d_open_t ptsopen;
64static d_close_t ptsclose;
65static d_read_t ptsread;
66static d_write_t ptswrite;
67static d_ioctl_t ptyioctl;
68static d_stop_t ptsstop;
69static d_ttycv_t ptydevtotty;
69static d_devtotty_t ptydevtotty;
70static d_open_t ptcopen;
71static d_close_t ptcclose;
72static d_read_t ptcread;
73static d_write_t ptcwrite;
74static d_ioctl_t ptcioctl;
75static d_select_t ptcselect;
76
77#define CDEV_MAJOR_S 5

--- 741 unchanged lines hidden ---
70static d_open_t ptcopen;
71static d_close_t ptcclose;
72static d_read_t ptcread;
73static d_write_t ptcwrite;
74static d_ioctl_t ptcioctl;
75static d_select_t ptcselect;
76
77#define CDEV_MAJOR_S 5

--- 741 unchanged lines hidden ---