Import Upstream version 20180207
[hcoop/debian/mlton.git] / runtime / basis / Posix / TTY-consts.c
1 #include "platform.h"
2
3 const C_Int_t Posix_TTY_V_NCCS = NCCS;
4
5 #ifndef VEOF
6 #define VEOF -1
7 #endif
8 const C_Int_t Posix_TTY_V_VEOF = VEOF;
9 #ifndef VEOL
10 #define VEOL -1
11 #endif
12 const C_Int_t Posix_TTY_V_VEOL = VEOL;
13 #ifndef VERASE
14 #define VERASE -1
15 #endif
16 const C_Int_t Posix_TTY_V_VERASE = VERASE;
17 #ifndef VINTR
18 #define VINTR -1
19 #endif
20 const C_Int_t Posix_TTY_V_VINTR = VINTR;
21 #ifndef VKILL
22 #define VKILL -1
23 #endif
24 const C_Int_t Posix_TTY_V_VKILL = VKILL;
25 #ifndef VMIN
26 #define VMIN -1
27 #endif
28 const C_Int_t Posix_TTY_V_VMIN = VMIN;
29 #ifndef VQUIT
30 #define VQUIT -1
31 #endif
32 const C_Int_t Posix_TTY_V_VQUIT = VQUIT;
33 #ifndef VSTART
34 #define VSTART -1
35 #endif
36 const C_Int_t Posix_TTY_V_VSTART = VSTART;
37 #ifndef VSTOP
38 #define VSTOP -1
39 #endif
40 const C_Int_t Posix_TTY_V_VSTOP = VSTOP;
41 #ifndef VSUSP
42 #define VSUSP -1
43 #endif
44 const C_Int_t Posix_TTY_V_VSUSP = VSUSP;
45 #ifndef VTIME
46 #define VTIME -1
47 #endif
48 const C_Int_t Posix_TTY_V_VTIME = VTIME;
49
50 #ifndef BRKINT
51 #define BRKINT -1
52 #endif
53 const C_TCFlag_t Posix_TTY_I_BRKINT = BRKINT;
54 #ifndef ICRNL
55 #define ICRNL -1
56 #endif
57 const C_TCFlag_t Posix_TTY_I_ICRNL = ICRNL;
58 #ifndef IGNBRK
59 #define IGNBRK -1
60 #endif
61 const C_TCFlag_t Posix_TTY_I_IGNBRK = IGNBRK;
62 #ifndef IGNCR
63 #define IGNCR -1
64 #endif
65 const C_TCFlag_t Posix_TTY_I_IGNCR = IGNCR;
66 #ifndef IGNPAR
67 #define IGNPAR -1
68 #endif
69 const C_TCFlag_t Posix_TTY_I_IGNPAR = IGNPAR;
70 #ifndef INLCR
71 #define INLCR -1
72 #endif
73 const C_TCFlag_t Posix_TTY_I_INLCR = INLCR;
74 #ifndef INPCK
75 #define INPCK -1
76 #endif
77 const C_TCFlag_t Posix_TTY_I_INPCK = INPCK;
78 #ifndef ISTRIP
79 #define ISTRIP -1
80 #endif
81 const C_TCFlag_t Posix_TTY_I_ISTRIP = ISTRIP;
82 #ifndef IXANY
83 #define IXANY -1
84 #endif
85 const C_TCFlag_t Posix_TTY_I_IXANY = IXANY;
86 #ifndef IXOFF
87 #define IXOFF -1
88 #endif
89 const C_TCFlag_t Posix_TTY_I_IXOFF = IXOFF;
90 #ifndef IXON
91 #define IXON -1
92 #endif
93 const C_TCFlag_t Posix_TTY_I_IXON = IXON;
94 #ifndef PARMRK
95 #define PARMRK -1
96 #endif
97 const C_TCFlag_t Posix_TTY_I_PARMRK = PARMRK;
98
99 #ifndef OPOST
100 #define OPOST -1
101 #endif
102 const C_TCFlag_t Posix_TTY_O_OPOST = OPOST;
103 #ifndef ONLCR
104 #define ONLCR -1
105 #endif
106 const C_TCFlag_t Posix_TTY_O_ONLCR = ONLCR;
107 #ifndef OCRNL
108 #define OCRNL -1
109 #endif
110 const C_TCFlag_t Posix_TTY_O_OCRNL = OCRNL;
111 #ifndef ONOCR
112 #define ONOCR -1
113 #endif
114 const C_TCFlag_t Posix_TTY_O_ONOCR = ONOCR;
115 #ifndef ONLRET
116 #define ONLRET -1
117 #endif
118 const C_TCFlag_t Posix_TTY_O_ONLRET = ONLRET;
119 #ifndef OFILL
120 #define OFILL -1
121 #endif
122 const C_TCFlag_t Posix_TTY_O_OFILL = OFILL;
123 #ifndef NLDLY
124 #define NLDLY -1
125 #endif
126 const C_TCFlag_t Posix_TTY_O_NLDLY = NLDLY;
127 #ifndef NL0
128 #define NL0 -1
129 #endif
130 const C_TCFlag_t Posix_TTY_O_NL0 = NL0;
131 #ifndef NL1
132 #define NL1 -1
133 #endif
134 const C_TCFlag_t Posix_TTY_O_NL1 = NL1;
135 #ifndef CRDLY
136 #define CRDLY -1
137 #endif
138 const C_TCFlag_t Posix_TTY_O_CRDLY = CRDLY;
139 #ifndef CR0
140 #define CR0 -1
141 #endif
142 const C_TCFlag_t Posix_TTY_O_CR0 = CR0;
143 #ifndef CR1
144 #define CR1 -1
145 #endif
146 const C_TCFlag_t Posix_TTY_O_CR1 = CR1;
147 #ifndef CR2
148 #define CR2 -1
149 #endif
150 const C_TCFlag_t Posix_TTY_O_CR2 = CR2;
151 #ifndef CR3
152 #define CR3 -1
153 #endif
154 const C_TCFlag_t Posix_TTY_O_CR3 = CR3;
155 #ifndef TABDLY
156 #define TABDLY -1
157 #endif
158 const C_TCFlag_t Posix_TTY_O_TABDLY = TABDLY;
159 #ifndef TAB0
160 #define TAB0 -1
161 #endif
162 const C_TCFlag_t Posix_TTY_O_TAB0 = TAB0;
163 #ifndef TAB1
164 #define TAB1 -1
165 #endif
166 const C_TCFlag_t Posix_TTY_O_TAB1 = TAB1;
167 #ifndef TAB2
168 #define TAB2 -1
169 #endif
170 const C_TCFlag_t Posix_TTY_O_TAB2 = TAB2;
171 #ifndef TAB3
172 #define TAB3 -1
173 #endif
174 const C_TCFlag_t Posix_TTY_O_TAB3 = TAB3;
175 #ifndef BSDLY
176 #define BSDLY -1
177 #endif
178 const C_TCFlag_t Posix_TTY_O_BSDLY = BSDLY;
179 #ifndef BS0
180 #define BS0 -1
181 #endif
182 const C_TCFlag_t Posix_TTY_O_BS0 = BS0;
183 #ifndef BS1
184 #define BS1 -1
185 #endif
186 const C_TCFlag_t Posix_TTY_O_BS1 = BS1;
187 #ifndef VTDLY
188 #define VTDLY -1
189 #endif
190 const C_TCFlag_t Posix_TTY_O_VTDLY = VTDLY;
191 #ifndef VT0
192 #define VT0 -1
193 #endif
194 const C_TCFlag_t Posix_TTY_O_VT0 = VT0;
195 #ifndef VT1
196 #define VT1 -1
197 #endif
198 const C_TCFlag_t Posix_TTY_O_VT1 = VT1;
199 #ifndef FFDLY
200 #define FFDLY -1
201 #endif
202 const C_TCFlag_t Posix_TTY_O_FFDLY = FFDLY;
203 #ifndef FF0
204 #define FF0 -1
205 #endif
206 const C_TCFlag_t Posix_TTY_O_FF0 = FF0;
207 #ifndef FF1
208 #define FF1 -1
209 #endif
210 const C_TCFlag_t Posix_TTY_O_FF1 = FF1;
211
212 #ifndef CSIZE
213 #define CSIZE -1
214 #endif
215 const C_TCFlag_t Posix_TTY_C_CSIZE = CSIZE;
216 #ifndef CS5
217 #define CS5 -1
218 #endif
219 const C_TCFlag_t Posix_TTY_C_CS5 = CS5;
220 #ifndef CS6
221 #define CS6 -1
222 #endif
223 const C_TCFlag_t Posix_TTY_C_CS6 = CS6;
224 #ifndef CS7
225 #define CS7 -1
226 #endif
227 const C_TCFlag_t Posix_TTY_C_CS7 = CS7;
228 #ifndef CS8
229 #define CS8 -1
230 #endif
231 const C_TCFlag_t Posix_TTY_C_CS8 = CS8;
232 #ifndef CSTOPB
233 #define CSTOPB -1
234 #endif
235 const C_TCFlag_t Posix_TTY_C_CSTOPB = CSTOPB;
236 #ifndef CREAD
237 #define CREAD -1
238 #endif
239 const C_TCFlag_t Posix_TTY_C_CREAD = CREAD;
240 #ifndef PARENB
241 #define PARENB -1
242 #endif
243 const C_TCFlag_t Posix_TTY_C_PARENB = PARENB;
244 #ifndef PARODD
245 #define PARODD -1
246 #endif
247 const C_TCFlag_t Posix_TTY_C_PARODD = PARODD;
248 #ifndef HUPCL
249 #define HUPCL -1
250 #endif
251 const C_TCFlag_t Posix_TTY_C_HUPCL = HUPCL;
252 #ifndef CLOCAL
253 #define CLOCAL -1
254 #endif
255 const C_TCFlag_t Posix_TTY_C_CLOCAL = CLOCAL;
256
257 #ifndef ECHO
258 #define ECHO -1
259 #endif
260 const C_TCFlag_t Posix_TTY_L_ECHO = ECHO;
261 #ifndef ECHOE
262 #define ECHOE -1
263 #endif
264 const C_TCFlag_t Posix_TTY_L_ECHOE = ECHOE;
265 #ifndef ECHOK
266 #define ECHOK -1
267 #endif
268 const C_TCFlag_t Posix_TTY_L_ECHOK = ECHOK;
269 #ifndef ECHONL
270 #define ECHONL -1
271 #endif
272 const C_TCFlag_t Posix_TTY_L_ECHONL = ECHONL;
273 #ifndef ICANON
274 #define ICANON -1
275 #endif
276 const C_TCFlag_t Posix_TTY_L_ICANON = ICANON;
277 #ifndef IEXTEN
278 #define IEXTEN -1
279 #endif
280 const C_TCFlag_t Posix_TTY_L_IEXTEN = IEXTEN;
281 #ifndef ISIG
282 #define ISIG -1
283 #endif
284 const C_TCFlag_t Posix_TTY_L_ISIG = ISIG;
285 #ifndef NOFLSH
286 #define NOFLSH -1
287 #endif
288 const C_TCFlag_t Posix_TTY_L_NOFLSH = NOFLSH;
289 #ifndef TOSTOP
290 #define TOSTOP -1
291 #endif
292 const C_TCFlag_t Posix_TTY_L_TOSTOP = TOSTOP;
293
294 #ifndef B0
295 #define B0 -1
296 #endif
297 const C_Speed_t Posix_TTY_B0 = B0;
298 #ifndef B50
299 #define B50 -1
300 #endif
301 const C_Speed_t Posix_TTY_B50 = B50;
302 #ifndef B75
303 #define B75 -1
304 #endif
305 const C_Speed_t Posix_TTY_B75 = B75;
306 #ifndef B110
307 #define B110 -1
308 #endif
309 const C_Speed_t Posix_TTY_B110 = B110;
310 #ifndef B134
311 #define B134 -1
312 #endif
313 const C_Speed_t Posix_TTY_B134 = B134;
314 #ifndef B150
315 #define B150 -1
316 #endif
317 const C_Speed_t Posix_TTY_B150 = B150;
318 #ifndef B200
319 #define B200 -1
320 #endif
321 const C_Speed_t Posix_TTY_B200 = B200;
322 #ifndef B300
323 #define B300 -1
324 #endif
325 const C_Speed_t Posix_TTY_B300 = B300;
326 #ifndef B600
327 #define B600 -1
328 #endif
329 const C_Speed_t Posix_TTY_B600 = B600;
330 #ifndef B1200
331 #define B1200 -1
332 #endif
333 const C_Speed_t Posix_TTY_B1200 = B1200;
334 #ifndef B1800
335 #define B1800 -1
336 #endif
337 const C_Speed_t Posix_TTY_B1800 = B1800;
338 #ifndef B2400
339 #define B2400 -1
340 #endif
341 const C_Speed_t Posix_TTY_B2400 = B2400;
342 #ifndef B4800
343 #define B4800 -1
344 #endif
345 const C_Speed_t Posix_TTY_B4800 = B4800;
346 #ifndef B9600
347 #define B9600 -1
348 #endif
349 const C_Speed_t Posix_TTY_B9600 = B9600;
350 #ifndef B19200
351 #define B19200 -1
352 #endif
353 const C_Speed_t Posix_TTY_B19200 = B19200;
354 #ifndef B38400
355 #define B38400 -1
356 #endif
357 const C_Speed_t Posix_TTY_B38400 = B38400;
358
359 #ifndef TCSADRAIN
360 #define TCSADRAIN -1
361 #endif
362 const C_Int_t Posix_TTY_TC_TCSADRAIN = TCSADRAIN;
363 #ifndef TCSAFLUSH
364 #define TCSAFLUSH -1
365 #endif
366 const C_Int_t Posix_TTY_TC_TCSAFLUSH = TCSAFLUSH;
367 #ifndef TCSANOW
368 #define TCSANOW -1
369 #endif
370 const C_Int_t Posix_TTY_TC_TCSANOW = TCSANOW;
371
372 #ifndef TCIOFF
373 #define TCIOFF -1
374 #endif
375 const C_Int_t Posix_TTY_TC_TCIOFF = TCIOFF;
376 #ifndef TCION
377 #define TCION -1
378 #endif
379 const C_Int_t Posix_TTY_TC_TCION = TCION;
380 #ifndef TCOOFF
381 #define TCOOFF -1
382 #endif
383 const C_Int_t Posix_TTY_TC_TCOOFF = TCOOFF;
384 #ifndef TCOON
385 #define TCOON -1
386 #endif
387 const C_Int_t Posix_TTY_TC_TCOON = TCOON;
388
389 #ifndef TCIFLUSH
390 #define TCIFLUSH -1
391 #endif
392 const C_Int_t Posix_TTY_TC_TCIFLUSH = TCIFLUSH;
393 #ifndef TCIOFLUSH
394 #define TCIOFLUSH -1
395 #endif
396 const C_Int_t Posix_TTY_TC_TCIOFLUSH = TCIOFLUSH;
397 #ifndef TCOFLUSH
398 #define TCOFLUSH -1
399 #endif
400 const C_Int_t Posix_TTY_TC_TCOFLUSH = TCOFLUSH;