1 /* : : generated from tty by iffe version 2013-11-14 : : */
2 #ifndef _def_tty_features
3 #define _def_tty_features 1
4 
5 #if _mac__POSIX_VDISABLE
6 #undef _POSIX_VDISABLE
7 #endif
8 #include <termios.h>
9 
10 #undef tcgetattr
11 #undef tcsetattr
12 #undef tcgetpgrp
13 #undef tcsetpgrp
14 #undef cfgetospeed
15 #ifndef TCSANOW
16 #define TCSANOW TCSETS
17 #define TCSADRAIN TCSETSW
18 #define TCSAFLUSH TCSETSF
19 #endif /* TCSANOW */
20        /* The following corrects bugs in some implementations */
21 #if defined(TCSADFLUSH) && !defined(TCSAFLUSH)
22 #define TCSAFLUSH TCSADFLUSH
23 #endif /* TCSADFLUSH */
24 #undef TIOCGETC
25 
26 /* set ECHOCTL if driver can echo control charaters as ^c */
27 #ifdef LCTLECH
28 #ifndef ECHOCTL
29 #define ECHOCTL LCTLECH
30 #endif /* !ECHOCTL */
31 #endif /* LCTLECH */
32 #ifdef LNEW_CTLECH
33 #ifndef ECHOCTL
34 #define ECHOCTL LNEW_CTLECH
35 #endif /* !ECHOCTL */
36 #endif /* LNEW_CTLECH */
37 #ifdef LNEW_PENDIN
38 #ifndef PENDIN
39 #define PENDIN LNEW_PENDIN
40 #endif /* !PENDIN */
41 #endif /* LNEW_PENDIN */
42 
43 #endif
44