2 * Structure for stty and gtty system calls.
6 char sg_ispeed; /* input speed */
7 char sg_ospeed; /* output speed */
8 char sg_erase; /* erase character */
9 char sg_kill; /* kill character */
10 int sg_flags; /* mode flags */
14 * List of special characters
17 char t_intrc; /* interrupt */
18 char t_quitc; /* quit */
19 char t_startc; /* start output */
20 char t_stopc; /* stop output */
21 char t_eofc; /* end-of-file */
22 char t_brkc; /* input delimiter (like nl) */
37 #define NLDELAY 001400
38 #define TBDELAY 006000
40 #define CRDELAY 030000
41 #define VTDELAY 040000
42 #define BSDELAY 0100000
43 #define ALLDELAY 0177400
87 #define TIOCGETD (('t'<<8)|0)
88 #define TIOCSETD (('t'<<8)|1)
89 #define TIOCHPCL (('t'<<8)|2)
90 #define TIOCMODG (('t'<<8)|3)
91 #define TIOCMODS (('t'<<8)|4)
92 #define TIOCGETP (('t'<<8)|8)
93 #define TIOCSETP (('t'<<8)|9)
94 #define TIOCSETN (('t'<<8)|10)
95 #define TIOCEXCL (('t'<<8)|13)
96 #define TIOCNXCL (('t'<<8)|14)
97 #define TIOHMODE (('t'<<8)|15)
98 #define TIOCTSTP (('t'<<8)|16)
99 #define TIOCSETC (('t'<<8)|17)
100 #define TIOCGETC (('t'<<8)|18)
101 #define DIOCLSTN (('d'<<8)|1)
102 #define DIOCNTRL (('d'<<8)|2)
103 #define DIOCMPX (('d'<<8)|3)
104 #define DIOCNMPX (('d'<<8)|4)
105 #define DIOCSCALL (('d'<<8)|5)
106 #define DIOCRCALL (('d'<<8)|6)
107 #define DIOCPGRP (('d'<<8)|7)
108 #define DIOCGETP (('d'<<8)|8)
109 #define DIOCSETP (('d'<<8)|9)
110 #define DIOCLOSE (('d'<<8)|10)
111 #define DIOCTIME (('d'<<8)|11)
112 #define DIOCRESET (('d'<<8)|12)
113 #define FIOCLEX (('f'<<8)|1)
114 #define FIONCLEX (('f'<<8)|2)
115 #define MXLSTN (('x'<<8)|1)
116 #define MXNBLK (('x'<<8)|2)