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 */
46 #define NLDELAY 001400
47 #define TBDELAY 002000
48 #define CRDELAY 030000
49 #define VTDELAY 040000
50 #define BSDELAY 0100000
51 #define ALLDELAY 0177400
66 #endif /* _SYS_IOCTL_H */
73 #endif /* _SYS_IOCTL_H */
78 * Structure for stty and gtty system calls.
81 char sg_ispeed
; /* input speed */
82 char sg_ospeed
; /* output speed */
83 char sg_erase
; /* erase character */
84 char sg_kill
; /* kill character */
85 int sg_flags
; /* mode flags */
88 /* BSD local special chars. Structure for TIOCSLTC/TIOCGLTC */
90 char t_suspc
; /* stop process signal */
91 char t_dsuspc
; /* delayed stop process signal */
92 char t_rprntc
; /* reprint line */
93 char t_flushc
; /* flush output (toggles) */
94 char t_werasc
; /* word erase */
95 char t_lnextc
; /* literal next character */
121 #define FIOCLEX (('f'<<8)|1)
122 #define FIONCLEX (('f'<<8)|2)
123 #define TIOCHPCL (('t'<<8)|2)
124 #define TIOCGETP (('t'<<8)|8)
125 #define TIOCSETP (('t'<<8)|9)
126 #define TIOCEXCL (('t'<<8)|13)
127 #define TIOCNXCL (('t'<<8)|14)
129 #endif /* _SYS_TTOLD_H */
135 #endif /* _SGTTY_H */