tty.h (2734) | tty.h (3304) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 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. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)tty.h 8.6 (Berkeley) 1/21/94 | 1/*- 2 * Copyright (c) 1982, 1986, 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. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)tty.h 8.6 (Berkeley) 1/21/94 |
39 * $Id: tty.h,v 1.4 1994/08/21 04:42:05 paul Exp $ | 39 * $Id: tty.h,v 1.5 1994/09/13 16:03:35 davidg Exp $ |
40 */ 41 42#ifndef _SYS_TTY_H_ 43#define _SYS_TTY_H_ 44 45#include <sys/termios.h> 46#include <sys/select.h> /* For struct selinfo. */ 47 --- 16 unchanged lines hidden (view full) --- 64 */ 65struct tty { 66 struct clist t_rawq; /* Device raw input queue. */ 67 long t_rawcc; /* Raw input queue statistics. */ 68 struct clist t_canq; /* Device canonical queue. */ 69 long t_cancc; /* Canonical queue statistics. */ 70 struct clist t_outq; /* Device output queue. */ 71 long t_outcc; /* Output queue statistics. */ | 40 */ 41 42#ifndef _SYS_TTY_H_ 43#define _SYS_TTY_H_ 44 45#include <sys/termios.h> 46#include <sys/select.h> /* For struct selinfo. */ 47 --- 16 unchanged lines hidden (view full) --- 64 */ 65struct tty { 66 struct clist t_rawq; /* Device raw input queue. */ 67 long t_rawcc; /* Raw input queue statistics. */ 68 struct clist t_canq; /* Device canonical queue. */ 69 long t_cancc; /* Canonical queue statistics. */ 70 struct clist t_outq; /* Device output queue. */ 71 long t_outcc; /* Output queue statistics. */ |
72 char t_line; /* Interface to device drivers. */ | 72 int t_line; /* Interface to device drivers. */ |
73 dev_t t_dev; /* Device. */ 74 int t_state; /* Device and driver (TS*) state. */ 75 int t_flags; /* Tty flags. */ 76 struct pgrp *t_pgrp; /* Foreground process group. */ 77 struct session *t_session; /* Enclosing session. */ 78 struct selinfo t_rsel; /* Tty read/oob select. */ 79 struct selinfo t_wsel; /* Tty write select. */ 80 struct termios t_termios; /* Termios state. */ --- 145 unchanged lines hidden --- | 73 dev_t t_dev; /* Device. */ 74 int t_state; /* Device and driver (TS*) state. */ 75 int t_flags; /* Tty flags. */ 76 struct pgrp *t_pgrp; /* Foreground process group. */ 77 struct session *t_session; /* Enclosing session. */ 78 struct selinfo t_rsel; /* Tty read/oob select. */ 79 struct selinfo t_wsel; /* Tty write select. */ 80 struct termios t_termios; /* Termios state. */ --- 145 unchanged lines hidden --- |