|
|
1.1 root 1: /* (-lgl
2: * COHERENT Driver Kit Version 1.1.0
3: * Copyright (c) 1982, 1990 by Mark Williams Company.
4: * All rights reserved. May not be copied without permission.
5: -lgl) */
6: /*
7: * TTY flag defines
8: */
9:
10: #ifndef TTY_H
11: #define TTY_H TTY_H
12:
13: #define T_HILIM 01 /* Hi water mark wait */
14: #define T_DRAIN 02 /* Drain wait */
15: #define T_INPUT 04 /* Input wait */
16: #define T_IFULL 010 /* Input buffer full */
17: #define T_INL 020 /* Insert newline */
18: #define T_STOP 040 /* Stopped */
19: #define T_HPCL 0100 /* Hang up dataset on last close */
20: #define T_EXCL 0200 /* Exclusive use */
21: #define T_TSTOP 0400 /* Tandem input stop */
22: #define T_ISTOP 01000 /* Input overflow stop */
23: #define T_MODC 02000 /* Modem control */
24: #define T_CARR 04000 /* Carrier detect status */
25: #define T_BRD 010000 /* Blocking read in CBREAK/RAW mode */
26: #define T_HOPEN 020000 /* Hanging in open (for modem control) */
27: #define T_UN1 040000 /* Unused bit 1 */
28: #define T_UN0 0100000 /* Unused bit 0 */
29:
30: /* don't reset these flags when flushing the input and output queues */
31: #define T_SAVE (T_HPCL|T_EXCL|T_MODC|T_CARR|T_HOPEN|T_BRD)
32:
33: #define NMODC 0x80 /* Minor device modem control bit */
34: /* Set for NO modem control */
35: #define CPOLL 0x40 /* Minor device polled driver bit */
36: /* Set for polled operation */
37: /* Clear for IRQ operation */
38:
39: #ifdef KERNEL
40: #include <sys/ktty.h>
41: #endif
42:
43: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.