86: /* 17-18 compat */
87: #define TIOCGETA _IOR('t', 19, struct termios) /* get termios struct */
88: #define TIOCSETA _IOW('t', 20, struct termios) /* set termios struct */
90: #define TIOCSETAF _IOW('t', 22, struct termios) /* drn out, fls in, set */
91: #define TIOCGETD _IOR('t', 26, int) /* get line discipline (deprecated) */
92: #define TIOCSETD _IOW('t', 27, int) /* set line discipline (deprecated) */
98: typedef char linedn_t[TTLINEDNAMELEN];
99: #define TIOCGLINED _IOR('t', 66, linedn_t) /* get line discipline (new) */
100: #define TIOCSLINED _IOW('t', 67, linedn_t) /* set line discipline (new) */
105: #define TIOCCDTR _IO('t', 120) /* clear data terminal ready */
106: #define TIOCGPGRP _IOR('t', 119, int) /* get pgrp of tty */
107: #define TIOCSPGRP _IOW('t', 118, int) /* set pgrp of tty */
108: /* 117-116 compat */
109: #define TIOCOUTQ _IOR('t', 115, int) /* output queue size */
110: #define TIOCSTI _IOW('t', 114, char) /* simulate terminal input */
125: #define TIOCMBIC _IOW('t', 107, int) /* bic modem bits */
126: #define TIOCMGET _IOR('t', 106, int) /* get all modem bits */
127: #define TIOCREMOTE _IOW('t', 105, int) /* remote input editing */
128: #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */
129: #define TIOCSWINSZ _IOW('t', 103, struct winsize) /* set window size */
132: #define UIOCCMD(n) _IO('u', n) /* usr cntl op "n" */
133: #define TIOCGSID _IOR('t', 99, int) /* get session id */
134: #define TIOCCONS _IOW('t', 98, int) /* become virtual console */
138: #define TIOCDRAIN _IO('t', 94) /* wait till output drained */
139: #define TIOCGFLAGS _IOR('t', 93, int) /* get device flags */
140: #define TIOCSFLAGS _IOW('t', 92, int) /* set device flags */
145: #define TIOCFLAG_CDTRCTS 0x10 /* set cdtrcts on open */
146: #define TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval) /* get timestamp of last
147: * Cd rise, stamp next rise */
151:
152: #define TIOCPTMGET _IOR('t', 70, struct ptmget) /* get ptys */
153: #define TIOCGRANTPT _IO('t', 71) /* grantpt(3) */
154: #define TIOCPTSNAME _IOR('t', 72, struct ptmget) /* ptsname(3) */
155: