4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
22 /* Copyright (c) 1988 AT&T */
23 /* All Rights Reserved */
29 #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.3.1.3 */
48 #define NLDELAY 001400
49 #define TBDELAY 002000
50 #define CRDELAY 030000
51 #define VTDELAY 040000
52 #define BSDELAY 0100000
53 #define ALLDELAY 0177400
68 #endif /* _SYS_IOCTL_H */
75 #endif /* _SYS_IOCTL_H */
80 * Structure for stty and gtty system calls.
83 char sg_ispeed
; /* input speed */
84 char sg_ospeed
; /* output speed */
85 char sg_erase
; /* erase character */
86 char sg_kill
; /* kill character */
87 int sg_flags
; /* mode flags */
90 /* BSD local special chars. Structure for TIOCSLTC/TIOCGLTC */
92 char t_suspc
; /* stop process signal */
93 char t_dsuspc
; /* delayed stop process signal */
94 char t_rprntc
; /* reprint line */
95 char t_flushc
; /* flush output (toggles) */
96 char t_werasc
; /* word erase */
97 char t_lnextc
; /* literal next character */
123 #define FIOCLEX (('f'<<8)|1)
124 #define FIONCLEX (('f'<<8)|2)
125 #define TIOCHPCL (('t'<<8)|2)
126 #define TIOCGETP (('t'<<8)|8)
127 #define TIOCSETP (('t'<<8)|9)
128 #define TIOCEXCL (('t'<<8)|13)
129 #define TIOCNXCL (('t'<<8)|14)
131 #endif /* _SYS_TTOLD_H */
137 #endif /* _SGTTY_H */