]>
Commit | Line | Data |
---|---|---|
f095bb72 | 1 | #ifndef ISO |
0ed99ce4 UD |
2 | type cc_t |
3 | type speed_t | |
4 | type tcflag_t | |
5 | ||
6 | type {struct termios} | |
7 | ||
f095bb72 UD |
8 | #if defined XOPEN2K8 || defined POSIX2008 |
9 | type pid_t | |
10 | #endif | |
11 | ||
0ed99ce4 UD |
12 | element {struct termios} tcflag_t c_iflag |
13 | element {struct termios} tcflag_t c_oflag | |
14 | element {struct termios} tcflag_t c_cflag | |
15 | element {struct termios} tcflag_t c_lflag | |
16 | element {struct termios} cc_t c_cc[NCCS] | |
17 | ||
18 | constant NCCS | |
19 | ||
20 | constant VEOF | |
21 | constant VEOL | |
22 | constant VERASE | |
23 | constant VINTR | |
24 | constant VKILL | |
25 | constant VMIN | |
26 | constant VQUIT | |
27 | constant VSTART | |
28 | constant VSTOP | |
29 | constant VSUSP | |
30 | constant VTIME | |
31 | ||
32 | constant BRKINT | |
33 | constant ICRNL | |
34 | constant IGNBRK | |
35 | constant IGNCR | |
36 | constant IGNPAR | |
37 | constant INLCR | |
38 | constant INPCK | |
39 | constant ISTRIP | |
f095bb72 | 40 | # if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008 |
0ed99ce4 | 41 | constant IUCLC |
f095bb72 | 42 | # <endif |
0ed99ce4 UD |
43 | constant IXANY |
44 | constant IXOFF | |
45 | constant IXON | |
46 | constant PARMRK | |
47 | ||
48 | constant OPOST | |
f095bb72 | 49 | # if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008 |
0ed99ce4 | 50 | constant OLCUC |
f095bb72 UD |
51 | # endif |
52 | # if !defined POSIX && !defined POSIX2008 | |
0ed99ce4 UD |
53 | constant ONLCR |
54 | constant OCRNL | |
55 | constant ONOCR | |
56 | constant ONLRET | |
f095bb72 | 57 | constant OFDEL |
0ed99ce4 UD |
58 | constant OFILL |
59 | constant NLDLY | |
60 | constant NL0 | |
61 | constant NL1 | |
62 | constant CRDLY | |
63 | constant CR0 | |
64 | constant CR1 | |
65 | constant CR2 | |
66 | constant CR3 | |
67 | constant TABDLY | |
68 | constant TAB0 | |
69 | constant TAB1 | |
70 | constant TAB2 | |
71 | constant TAB3 | |
72 | constant BSDLY | |
73 | constant BS0 | |
74 | constant BS1 | |
75 | constant VTDLY | |
76 | constant VT0 | |
77 | constant VT1 | |
78 | constant FFDLY | |
79 | constant FF0 | |
80 | constant FF1 | |
f095bb72 | 81 | # endif |
0ed99ce4 UD |
82 | |
83 | constant B0 | |
84 | constant B50 | |
85 | constant B75 | |
86 | constant B110 | |
87 | constant B134 | |
88 | constant B150 | |
89 | constant B200 | |
90 | constant B300 | |
91 | constant B600 | |
92 | constant B1200 | |
93 | constant B1800 | |
94 | constant B2400 | |
95 | constant B4800 | |
96 | constant B9600 | |
97 | constant B19200 | |
98 | constant B38400 | |
99 | ||
100 | constant CSIZE | |
101 | constant CS5 | |
102 | constant CS6 | |
103 | constant CS7 | |
104 | constant CS8 | |
105 | constant CSTOPB | |
106 | constant CREAD | |
107 | constant PARENB | |
108 | constant PARODD | |
109 | constant HUPCL | |
110 | constant CLOCAL | |
111 | ||
112 | constant ECHO | |
113 | constant ECHOE | |
114 | constant ECHOK | |
115 | constant ECHONL | |
116 | constant ICANON | |
117 | constant IEXTEN | |
118 | constant ISIG | |
119 | constant NOFLSH | |
120 | constant TOSTOP | |
f095bb72 | 121 | # if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008 |
0ed99ce4 | 122 | constant XCASE |
f095bb72 | 123 | # endif |
0ed99ce4 UD |
124 | |
125 | constant TCSANOW | |
126 | constant TCSADRAIN | |
127 | constant TCSAFLUSH | |
128 | ||
129 | constant TCIFLUSH | |
130 | constant TCIOFLUSH | |
131 | ||
132 | constant TCIOFF | |
133 | constant TCION | |
134 | constant TCOOFF | |
135 | constant TCOON | |
136 | ||
137 | function speed_t cfgetispeed (const struct termios*) | |
138 | function speed_t cfgetospeed (const struct termios*) | |
139 | function int cfsetispeed (struct termios*, speed_t) | |
140 | function int cfsetospeed (struct termios*, speed_t) | |
141 | function int tcdrain (int) | |
142 | function int tcflow (int, int) | |
143 | function int tcflush (int, int) | |
144 | function int tcgetattr (int, struct termios*) | |
145 | function pid_t tcgetsid (int) | |
146 | function int tcsendbreak (int, int) | |
73b6bffc | 147 | function int tcsetattr (int, int, const struct termios*) |
0ed99ce4 UD |
148 | |
149 | allow CBAUD | |
150 | allow DEFECHO | |
151 | allow ECHOCTL | |
152 | allow ECHOKE | |
153 | allow ECHOPRT | |
154 | allow EXTA | |
155 | allow EXTB | |
156 | allow FLUSHO | |
157 | allow LOBLK | |
158 | allow PENDIN | |
159 | allow SWTCH | |
160 | allow VDISCARD | |
161 | allow VDSUSP | |
162 | allow VLNEXT | |
163 | allow VREPRINT | |
164 | allow VSTATUS | |
165 | allow VWERASE | |
166 | ||
167 | allow c_* | |
168 | allow V* | |
169 | allow I* | |
170 | allow O* | |
171 | allow TC* | |
172 | allow B* | |
173 | allow *_t | |
f095bb72 | 174 | #endif |