Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | enum speed_setting | - |
13 | { | - |
14 | input_speed, output_speed, both_speeds | - |
15 | }; | - |
16 | | - |
17 | | - |
18 | enum output_type | - |
19 | { | - |
20 | changed, all, recoverable | - |
21 | }; | - |
22 | | - |
23 | | - |
24 | enum mode_type | - |
25 | { | - |
26 | control, input, output, local, combination | - |
27 | }; | - |
28 | struct mode_info | - |
29 | { | - |
30 | const char *name; | - |
31 | enum mode_type type; | - |
32 | char flags; | - |
33 | unsigned long bits; | - |
34 | unsigned long mask; | - |
35 | }; | - |
36 | | - |
37 | static struct mode_info const mode_info[] = | - |
38 | { | - |
39 | {"parenb", control, 4, | - |
40 | 0000400 | - |
41 | , 0}, | - |
42 | {"parodd", control, 4, | - |
43 | 0001000 | - |
44 | , 0}, | - |
45 | | - |
46 | {"cmspar", control, 4, | - |
47 | 010000000000 | - |
48 | , 0}, | - |
49 | | - |
50 | {"cs5", control, 0, | - |
51 | 0000000 | - |
52 | , | - |
53 | 0000060 | - |
54 | }, | - |
55 | {"cs6", control, 0, | - |
56 | 0000020 | - |
57 | , | - |
58 | 0000060 | - |
59 | }, | - |
60 | {"cs7", control, 0, | - |
61 | 0000040 | - |
62 | , | - |
63 | 0000060 | - |
64 | }, | - |
65 | {"cs8", control, 0, | - |
66 | 0000060 | - |
67 | , | - |
68 | 0000060 | - |
69 | }, | - |
70 | {"hupcl", control, 4, | - |
71 | 0002000 | - |
72 | , 0}, | - |
73 | {"hup", control, 4 | 8, | - |
74 | 0002000 | - |
75 | , 0}, | - |
76 | {"cstopb", control, 4, | - |
77 | 0000100 | - |
78 | , 0}, | - |
79 | {"cread", control, 1 | 4, | - |
80 | 0000200 | - |
81 | , 0}, | - |
82 | {"clocal", control, 4, | - |
83 | 0004000 | - |
84 | , 0}, | - |
85 | | - |
86 | {"crtscts", control, 4, | - |
87 | 020000000000 | - |
88 | , 0}, | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | | - |
94 | {"ignbrk", input, 2 | 4, | - |
95 | 0000001 | - |
96 | , 0}, | - |
97 | {"brkint", input, 1 | 4, | - |
98 | 0000002 | - |
99 | , 0}, | - |
100 | {"ignpar", input, 4, | - |
101 | 0000004 | - |
102 | , 0}, | - |
103 | {"parmrk", input, 4, | - |
104 | 0000010 | - |
105 | , 0}, | - |
106 | {"inpck", input, 4, | - |
107 | 0000020 | - |
108 | , 0}, | - |
109 | {"istrip", input, 4, | - |
110 | 0000040 | - |
111 | , 0}, | - |
112 | {"inlcr", input, 2 | 4, | - |
113 | 0000100 | - |
114 | , 0}, | - |
115 | {"igncr", input, 2 | 4, | - |
116 | 0000200 | - |
117 | , 0}, | - |
118 | {"icrnl", input, 1 | 4, | - |
119 | 0000400 | - |
120 | , 0}, | - |
121 | {"ixon", input, 4, | - |
122 | 0002000 | - |
123 | , 0}, | - |
124 | {"ixoff", input, 2 | 4, | - |
125 | 0010000 | - |
126 | , 0}, | - |
127 | {"tandem", input, 4 | 8, | - |
128 | 0010000 | - |
129 | , 0}, | - |
130 | | - |
131 | {"iuclc", input, 2 | 4, | - |
132 | 0001000 | - |
133 | , 0}, | - |
134 | | - |
135 | | - |
136 | {"ixany", input, 2 | 4, | - |
137 | 0004000 | - |
138 | , 0}, | - |
139 | | - |
140 | | - |
141 | {"imaxbel", input, 1 | 4, | - |
142 | 0020000 | - |
143 | , 0}, | - |
144 | | - |
145 | | - |
146 | {"iutf8", input, 2 | 4, | - |
147 | 0040000 | - |
148 | , 0}, | - |
149 | | - |
150 | | - |
151 | {"opost", output, 1 | 4, | - |
152 | 0000001 | - |
153 | , 0}, | - |
154 | | - |
155 | {"olcuc", output, 2 | 4, | - |
156 | 0000002 | - |
157 | , 0}, | - |
158 | | - |
159 | | - |
160 | {"ocrnl", output, 2 | 4, | - |
161 | 0000010 | - |
162 | , 0}, | - |
163 | | - |
164 | | - |
165 | {"onlcr", output, 1 | 4, | - |
166 | 0000004 | - |
167 | , 0}, | - |
168 | | - |
169 | | - |
170 | {"onocr", output, 2 | 4, | - |
171 | 0000020 | - |
172 | , 0}, | - |
173 | | - |
174 | | - |
175 | {"onlret", output, 2 | 4, | - |
176 | 0000040 | - |
177 | , 0}, | - |
178 | | - |
179 | | - |
180 | {"ofill", output, 2 | 4, | - |
181 | 0000100 | - |
182 | , 0}, | - |
183 | | - |
184 | | - |
185 | {"ofdel", output, 2 | 4, | - |
186 | 0000200 | - |
187 | , 0}, | - |
188 | | - |
189 | | - |
190 | {"nl1", output, 2, | - |
191 | 0000400 | - |
192 | , | - |
193 | 0000400 | - |
194 | }, | - |
195 | {"nl0", output, 1, | - |
196 | 0000000 | - |
197 | , | - |
198 | 0000400 | - |
199 | }, | - |
200 | | - |
201 | | - |
202 | {"cr3", output, 2, | - |
203 | 0003000 | - |
204 | , | - |
205 | 0003000 | - |
206 | }, | - |
207 | {"cr2", output, 2, | - |
208 | 0002000 | - |
209 | , | - |
210 | 0003000 | - |
211 | }, | - |
212 | {"cr1", output, 2, | - |
213 | 0001000 | - |
214 | , | - |
215 | 0003000 | - |
216 | }, | - |
217 | {"cr0", output, 1, | - |
218 | 0000000 | - |
219 | , | - |
220 | 0003000 | - |
221 | }, | - |
222 | | - |
223 | | - |
224 | | - |
225 | {"tab3", output, 2, | - |
226 | 0014000 | - |
227 | , | - |
228 | 0014000 | - |
229 | }, | - |
230 | | - |
231 | | - |
232 | {"tab2", output, 2, | - |
233 | 0010000 | - |
234 | , | - |
235 | 0014000 | - |
236 | }, | - |
237 | | - |
238 | | - |
239 | {"tab1", output, 2, | - |
240 | 0004000 | - |
241 | , | - |
242 | 0014000 | - |
243 | }, | - |
244 | | - |
245 | | - |
246 | {"tab0", output, 1, | - |
247 | 0000000 | - |
248 | , | - |
249 | 0014000 | - |
250 | }, | - |
251 | | - |
252 | | - |
253 | | - |
254 | | - |
255 | | - |
256 | | - |
257 | | - |
258 | {"bs1", output, 2, | - |
259 | 0020000 | - |
260 | , | - |
261 | 0020000 | - |
262 | }, | - |
263 | {"bs0", output, 1, | - |
264 | 0000000 | - |
265 | , | - |
266 | 0020000 | - |
267 | }, | - |
268 | | - |
269 | | - |
270 | {"vt1", output, 2, | - |
271 | 0040000 | - |
272 | , | - |
273 | 0040000 | - |
274 | }, | - |
275 | {"vt0", output, 1, | - |
276 | 0000000 | - |
277 | , | - |
278 | 0040000 | - |
279 | }, | - |
280 | | - |
281 | | - |
282 | {"ff1", output, 2, | - |
283 | 0100000 | - |
284 | , | - |
285 | 0100000 | - |
286 | }, | - |
287 | {"ff0", output, 1, | - |
288 | 0000000 | - |
289 | , | - |
290 | 0100000 | - |
291 | }, | - |
292 | | - |
293 | | - |
294 | {"isig", local, 1 | 4, | - |
295 | 0000001 | - |
296 | , 0}, | - |
297 | {"icanon", local, 1 | 4, | - |
298 | 0000002 | - |
299 | , 0}, | - |
300 | | - |
301 | {"iexten", local, 1 | 4, | - |
302 | 0100000 | - |
303 | , 0}, | - |
304 | | - |
305 | {"echo", local, 1 | 4, | - |
306 | 0000010 | - |
307 | , 0}, | - |
308 | {"echoe", local, 1 | 4, | - |
309 | 0000020 | - |
310 | , 0}, | - |
311 | {"crterase", local, 4 | 8, | - |
312 | 0000020 | - |
313 | , 0}, | - |
314 | {"echok", local, 1 | 4, | - |
315 | 0000040 | - |
316 | , 0}, | - |
317 | {"echonl", local, 2 | 4, | - |
318 | 0000100 | - |
319 | , 0}, | - |
320 | {"noflsh", local, 2 | 4, | - |
321 | 0000200 | - |
322 | , 0}, | - |
323 | | - |
324 | {"xcase", local, 2 | 4, | - |
325 | 0000004 | - |
326 | , 0}, | - |
327 | | - |
328 | | - |
329 | {"tostop", local, 2 | 4, | - |
330 | 0000400 | - |
331 | , 0}, | - |
332 | | - |
333 | | - |
334 | {"echoprt", local, 2 | 4, | - |
335 | 0002000 | - |
336 | , 0}, | - |
337 | {"prterase", local, 4 | 8, | - |
338 | 0002000 | - |
339 | , 0}, | - |
340 | | - |
341 | | - |
342 | {"echoctl", local, 1 | 4, | - |
343 | 0001000 | - |
344 | , 0}, | - |
345 | {"ctlecho", local, 4 | 8, | - |
346 | 0001000 | - |
347 | , 0}, | - |
348 | | - |
349 | | - |
350 | {"echoke", local, 1 | 4, | - |
351 | 0004000 | - |
352 | , 0}, | - |
353 | {"crtkill", local, 4 | 8, | - |
354 | 0004000 | - |
355 | , 0}, | - |
356 | | - |
357 | | - |
358 | {"flusho", local, 2 | 4, | - |
359 | 0010000 | - |
360 | , 0}, | - |
361 | | - |
362 | | - |
363 | | - |
364 | | - |
365 | {"extproc", local, 2 | 4, | - |
366 | 0200000 | - |
367 | , 0}, | - |
368 | | - |
369 | | - |
370 | {"evenp", combination, 4 | 8, 0, 0}, | - |
371 | {"parity", combination, 4 | 8, 0, 0}, | - |
372 | {"oddp", combination, 4 | 8, 0, 0}, | - |
373 | {"nl", combination, 4 | 8, 0, 0}, | - |
374 | {"ek", combination, 8, 0, 0}, | - |
375 | {"sane", combination, 8, 0, 0}, | - |
376 | {"cooked", combination, 4 | 8, 0, 0}, | - |
377 | {"raw", combination, 4 | 8, 0, 0}, | - |
378 | {"pass8", combination, 4 | 8, 0, 0}, | - |
379 | {"litout", combination, 4 | 8, 0, 0}, | - |
380 | {"cbreak", combination, 4 | 8, 0, 0}, | - |
381 | | - |
382 | {"decctlq", combination, 4 | 8, 0, 0}, | - |
383 | | - |
384 | | - |
385 | {"tabs", combination, 4 | 8, 0, 0}, | - |
386 | | - |
387 | | - |
388 | {"lcase", combination, 4 | 8, 0, 0}, | - |
389 | {"LCASE", combination, 4 | 8, 0, 0}, | - |
390 | | - |
391 | {"crt", combination, 8, 0, 0}, | - |
392 | {"dec", combination, 8, 0, 0}, | - |
393 | | - |
394 | { | - |
395 | ((void *)0) | - |
396 | , control, 0, 0, 0} | - |
397 | }; | - |
398 | | - |
399 | | - |
400 | struct control_info | - |
401 | { | - |
402 | const char *name; | - |
403 | cc_t saneval; | - |
404 | size_t offset; | - |
405 | }; | - |
406 | | - |
407 | | - |
408 | | - |
409 | static struct control_info const control_info[] = | - |
410 | { | - |
411 | {"intr", | - |
412 | ('c'&037) | - |
413 | , | - |
414 | 0 | - |
415 | }, | - |
416 | {"quit", | - |
417 | 034 | - |
418 | , | - |
419 | 1 | - |
420 | }, | - |
421 | {"erase", | - |
422 | 0177 | - |
423 | , | - |
424 | 2 | - |
425 | }, | - |
426 | {"kill", | - |
427 | ('u'&037) | - |
428 | , | - |
429 | 3 | - |
430 | }, | - |
431 | {"eof", | - |
432 | ('d'&037) | - |
433 | , | - |
434 | 4 | - |
435 | }, | - |
436 | {"eol", | - |
437 | '\0' | - |
438 | , | - |
439 | 11 | - |
440 | }, | - |
441 | | - |
442 | {"eol2", | - |
443 | '\0' | - |
444 | , | - |
445 | 16 | - |
446 | }, | - |
447 | | - |
448 | | - |
449 | {"swtch", | - |
450 | '\0' | - |
451 | , | - |
452 | 7 | - |
453 | }, | - |
454 | | - |
455 | {"start", | - |
456 | ('q'&037) | - |
457 | , | - |
458 | 8 | - |
459 | }, | - |
460 | {"stop", | - |
461 | ('s'&037) | - |
462 | , | - |
463 | 9 | - |
464 | }, | - |
465 | {"susp", | - |
466 | ('z'&037) | - |
467 | , | - |
468 | 10 | - |
469 | }, | - |
470 | | - |
471 | | - |
472 | | - |
473 | | - |
474 | {"rprnt", | - |
475 | ('r'&037) | - |
476 | , | - |
477 | 12 | - |
478 | }, | - |
479 | | - |
480 | | - |
481 | | - |
482 | | - |
483 | | - |
484 | | - |
485 | {"werase", | - |
486 | ('w'&037) | - |
487 | , | - |
488 | 14 | - |
489 | }, | - |
490 | | - |
491 | | - |
492 | {"lnext", | - |
493 | ('v'&037) | - |
494 | , | - |
495 | 15 | - |
496 | }, | - |
497 | | - |
498 | | - |
499 | {"flush", (('o') & 0x1f), | - |
500 | 13 | - |
501 | }, | - |
502 | {"discard", (('o') & 0x1f), | - |
503 | 13 | - |
504 | }, | - |
505 | | - |
506 | | - |
507 | | - |
508 | | - |
509 | | - |
510 | | - |
511 | {"min", 1, | - |
512 | 6 | - |
513 | }, | - |
514 | {"time", 0, | - |
515 | 5 | - |
516 | }, | - |
517 | { | - |
518 | ((void *)0) | - |
519 | , 0, 0} | - |
520 | }; | - |
521 | | - |
522 | static char const *visible (cc_t ch); | - |
523 | static unsigned long int baud_to_value (speed_t speed); | - |
524 | static | - |
525 | _Bool | - |
526 | recover_mode (char const *arg, struct termios *mode); | - |
527 | static int screen_columns (void); | - |
528 | static | - |
529 | _Bool | - |
530 | set_mode (struct mode_info const *info, | - |
531 | _Bool | - |
532 | reversed, | - |
533 | struct termios *mode); | - |
534 | static unsigned long int integer_arg (const char *s, unsigned long int max); | - |
535 | static speed_t string_to_baud (const char *arg); | - |
536 | static tcflag_t *mode_type_flag (enum mode_type type, struct termios *mode); | - |
537 | static void display_all (struct termios *mode, char const *device_name); | - |
538 | static void display_changed (struct termios *mode); | - |
539 | static void display_recoverable (struct termios *mode); | - |
540 | static void display_settings (enum output_type output_type, | - |
541 | struct termios *mode, | - |
542 | const char *device_name); | - |
543 | static void display_speed (struct termios *mode, | - |
544 | _Bool | - |
545 | fancy); | - |
546 | static void display_window_size ( | - |
547 | _Bool | - |
548 | fancy, char const *device_name); | - |
549 | static void sane_mode (struct termios *mode); | - |
550 | static void set_control_char (struct control_info const *info, | - |
551 | const char *arg, | - |
552 | struct termios *mode); | - |
553 | static void set_speed (enum speed_setting type, const char *arg, | - |
554 | struct termios *mode); | - |
555 | static void set_window_size (int rows, int cols, char const *device_name); | - |
556 | | - |
557 | | - |
558 | static int max_col; | - |
559 | | - |
560 | | - |
561 | static int current_col; | - |
562 | | - |
563 | | - |
564 | static int tcsetattr_options = | - |
565 | 1 | - |
566 | ; | - |
567 | | - |
568 | static struct option const longopts[] = | - |
569 | { | - |
570 | {"all", | - |
571 | 0 | - |
572 | , | - |
573 | ((void *)0) | - |
574 | , 'a'}, | - |
575 | {"save", | - |
576 | 0 | - |
577 | , | - |
578 | ((void *)0) | - |
579 | , 'g'}, | - |
580 | {"file", | - |
581 | 1 | - |
582 | , | - |
583 | ((void *)0) | - |
584 | , 'F'}, | - |
585 | {"help", | - |
586 | 0 | - |
587 | , | - |
588 | ((void *)0) | - |
589 | , GETOPT_HELP_CHAR}, | - |
590 | {"version", | - |
591 | 0 | - |
592 | , | - |
593 | ((void *)0) | - |
594 | , GETOPT_VERSION_CHAR}, | - |
595 | { | - |
596 | ((void *)0) | - |
597 | , 0, | - |
598 | ((void *)0) | - |
599 | , 0} | - |
600 | }; | - |
601 | | - |
602 | static void wrapf (const char *message, ...) | - |
603 | __attribute__ ((__format__ (__printf__, 1, 2))); | - |
604 | | - |
605 | | - |
606 | | - |
607 | | - |
608 | | - |
609 | static void | - |
610 | wrapf (const char *message,...) | - |
611 | { | - |
612 | va_list args; | - |
613 | char *buf; | - |
614 | int buflen; | - |
615 | | - |
616 | | - |
617 | __builtin_va_start( | - |
618 | args | - |
619 | , | - |
620 | message | - |
621 | ) | - |
622 | ; | - |
623 | buflen = vasprintf (&buf, message, args); | - |
624 | | - |
625 | __builtin_va_end( | - |
626 | args | - |
627 | ) | - |
628 | ; | - |
629 | | - |
630 | if (buflen < 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
631 | xalloc_die (); never executed: xalloc_die (); | 0 |
632 | | - |
633 | if (0 < current_colTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
634 | { | - |
635 | if (max_col - current_col < buflenTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
636 | { | - |
637 | putchar_unlocked ('\n'); | - |
638 | current_col = 0; | - |
639 | } never executed: end of block | 0 |
640 | else | - |
641 | { | - |
642 | putchar_unlocked (' '); | - |
643 | current_col++; | - |
644 | } never executed: end of block | 0 |
645 | } | - |
646 | | - |
647 | fputs_unlocked (buf, | - |
648 | stdout | - |
649 | ); | - |
650 | free (buf); | - |
651 | current_col += buflen; | - |
652 | } never executed: end of block | 0 |
653 | | - |
654 | void | - |
655 | usage (int status) | - |
656 | { | - |
657 | if (status != TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
658 | 0TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
659 | ) | - |
660 | do { fprintf ( | - |
661 | stderr | - |
662 | , | - |
663 | dcgettext (((void *)0), | - |
664 | "Try '%s --help' for more information.\n" | - |
665 | , 5) | - |
666 | , program_name); }executed 1 time by 1 test: end of block while (0); | 1 |
667 | else | - |
668 | { | - |
669 | printf ( | - |
670 | dcgettext (((void *)0), | - |
671 | "Usage: %s [-F DEVICE | --file=DEVICE] [SETTING]...\n or: %s [-F DEVICE | --file=DEVICE] [-a|--all]\n or: %s [-F DEVICE | --file=DEVICE] [-g|--save]\n" | - |
672 | , 5) | - |
673 | | - |
674 | | - |
675 | | - |
676 | | - |
677 | , | - |
678 | program_name, program_name, program_name); | - |
679 | fputs_unlocked ( | - |
680 | dcgettext (((void *)0), | - |
681 | "Print or change terminal characteristics.\n" | - |
682 | , 5) | - |
683 | , | - |
684 | stdout | - |
685 | ) | - |
686 | | - |
687 | ; | - |
688 | | - |
689 | emit_mandatory_arg_note (); | - |
690 | | - |
691 | fputs_unlocked ( | - |
692 | dcgettext (((void *)0), | - |
693 | " -a, --all print all current settings in human-readable form\n -g, --save print all current settings in a stty-readable form\n -F, --file=DEVICE open and use the specified DEVICE instead of stdin\n" | - |
694 | , 5) | - |
695 | , | - |
696 | stdout | - |
697 | ) | - |
698 | | - |
699 | | - |
700 | | - |
701 | ; | - |
702 | fputs_unlocked ( | - |
703 | dcgettext (((void *)0), | - |
704 | " --help display this help and exit\n" | - |
705 | , 5) | - |
706 | , | - |
707 | stdout | - |
708 | ); | - |
709 | fputs_unlocked ( | - |
710 | dcgettext (((void *)0), | - |
711 | " --version output version information and exit\n" | - |
712 | , 5) | - |
713 | , | - |
714 | stdout | - |
715 | ); | - |
716 | fputs_unlocked ( | - |
717 | dcgettext (((void *)0), | - |
718 | "\nOptional - before SETTING indicates negation. An * marks non-POSIX\nsettings. The underlying system defines which settings are available.\n" | - |
719 | , 5) | - |
720 | , | - |
721 | stdout | - |
722 | ) | - |
723 | | - |
724 | | - |
725 | | - |
726 | ; | - |
727 | fputs_unlocked ( | - |
728 | dcgettext (((void *)0), | - |
729 | "\nSpecial characters:\n" | - |
730 | , 5) | - |
731 | , | - |
732 | stdout | - |
733 | ) | - |
734 | | - |
735 | ; | - |
736 | | - |
737 | fputs_unlocked ( | - |
738 | dcgettext (((void *)0), | - |
739 | " * discard CHAR CHAR will toggle discarding of output\n" | - |
740 | , 5) | - |
741 | , | - |
742 | stdout | - |
743 | ) | - |
744 | | - |
745 | ; | - |
746 | | - |
747 | | - |
748 | | - |
749 | | - |
750 | | - |
751 | | - |
752 | fputs_unlocked ( | - |
753 | dcgettext (((void *)0), | - |
754 | " eof CHAR CHAR will send an end of file (terminate the input)\n eol CHAR CHAR will end the line\n" | - |
755 | , 5) | - |
756 | , | - |
757 | stdout | - |
758 | ) | - |
759 | | - |
760 | | - |
761 | ; | - |
762 | | - |
763 | fputs_unlocked ( | - |
764 | dcgettext (((void *)0), | - |
765 | " * eol2 CHAR alternate CHAR for ending the line\n" | - |
766 | , 5) | - |
767 | , | - |
768 | stdout | - |
769 | ) | - |
770 | | - |
771 | ; | - |
772 | | - |
773 | fputs_unlocked ( | - |
774 | dcgettext (((void *)0), | - |
775 | " erase CHAR CHAR will erase the last character typed\n intr CHAR CHAR will send an interrupt signal\n kill CHAR CHAR will erase the current line\n" | - |
776 | , 5) | - |
777 | , | - |
778 | stdout | - |
779 | ) | - |
780 | | - |
781 | | - |
782 | | - |
783 | ; | - |
784 | | - |
785 | fputs_unlocked ( | - |
786 | dcgettext (((void *)0), | - |
787 | " * lnext CHAR CHAR will enter the next character quoted\n" | - |
788 | , 5) | - |
789 | , | - |
790 | stdout | - |
791 | ) | - |
792 | | - |
793 | ; | - |
794 | | - |
795 | | - |
796 | | - |
797 | | - |
798 | | - |
799 | | - |
800 | fputs_unlocked ( | - |
801 | dcgettext (((void *)0), | - |
802 | " quit CHAR CHAR will send a quit signal\n" | - |
803 | , 5) | - |
804 | , | - |
805 | stdout | - |
806 | ) | - |
807 | | - |
808 | ; | - |
809 | | - |
810 | fputs_unlocked ( | - |
811 | dcgettext (((void *)0), | - |
812 | " * rprnt CHAR CHAR will redraw the current line\n" | - |
813 | , 5) | - |
814 | , | - |
815 | stdout | - |
816 | ) | - |
817 | | - |
818 | ; | - |
819 | | - |
820 | fputs_unlocked ( | - |
821 | dcgettext (((void *)0), | - |
822 | " start CHAR CHAR will restart the output after stopping it\n stop CHAR CHAR will stop the output\n susp CHAR CHAR will send a terminal stop signal\n" | - |
823 | , 5) | - |
824 | , | - |
825 | stdout | - |
826 | ) | - |
827 | | - |
828 | | - |
829 | | - |
830 | ; | - |
831 | | - |
832 | fputs_unlocked ( | - |
833 | dcgettext (((void *)0), | - |
834 | " * swtch CHAR CHAR will switch to a different shell layer\n" | - |
835 | , 5) | - |
836 | , | - |
837 | stdout | - |
838 | ) | - |
839 | | - |
840 | ; | - |
841 | | - |
842 | | - |
843 | fputs_unlocked ( | - |
844 | dcgettext (((void *)0), | - |
845 | " * werase CHAR CHAR will erase the last word typed\n" | - |
846 | , 5) | - |
847 | , | - |
848 | stdout | - |
849 | ) | - |
850 | | - |
851 | ; | - |
852 | | - |
853 | fputs_unlocked ( | - |
854 | dcgettext (((void *)0), | - |
855 | "\nSpecial settings:\n N set the input and output speeds to N bauds\n" | - |
856 | , 5) | - |
857 | , | - |
858 | stdout | - |
859 | ) | - |
860 | | - |
861 | | - |
862 | | - |
863 | ; | - |
864 | | - |
865 | fputs_unlocked ( | - |
866 | dcgettext (((void *)0), | - |
867 | " * cols N tell the kernel that the terminal has N columns\n * columns N same as cols N\n" | - |
868 | , 5) | - |
869 | , | - |
870 | stdout | - |
871 | ) | - |
872 | | - |
873 | | - |
874 | ; | - |
875 | | - |
876 | printf ( | - |
877 | dcgettext (((void *)0), | - |
878 | " * [-]drain wait for transmission before applying settings (%s by default)\n" | - |
879 | , 5) | - |
880 | | - |
881 | | - |
882 | , tcsetattr_options == | - |
883 | 1 | - |
884 | ? | - |
885 | dcgettext (((void *)0), | - |
886 | "on" | - |
887 | , 5) | - |
888 | : | - |
889 | dcgettext (((void *)0), | - |
890 | "off" | - |
891 | , 5) | - |
892 | ); | - |
893 | fputs_unlocked ( | - |
894 | dcgettext (((void *)0), | - |
895 | " ispeed N set the input speed to N\n" | - |
896 | , 5) | - |
897 | , | - |
898 | stdout | - |
899 | ) | - |
900 | | - |
901 | ; | - |
902 | | - |
903 | fputs_unlocked ( | - |
904 | dcgettext (((void *)0), | - |
905 | " * line N use line discipline N\n" | - |
906 | , 5) | - |
907 | , | - |
908 | stdout | - |
909 | ) | - |
910 | | - |
911 | ; | - |
912 | | - |
913 | fputs_unlocked ( | - |
914 | dcgettext (((void *)0), | - |
915 | " min N with -icanon, set N characters minimum for a completed read\n ospeed N set the output speed to N\n" | - |
916 | , 5) | - |
917 | , | - |
918 | stdout | - |
919 | ) | - |
920 | | - |
921 | | - |
922 | ; | - |
923 | | - |
924 | fputs_unlocked ( | - |
925 | dcgettext (((void *)0), | - |
926 | " * rows N tell the kernel that the terminal has N rows\n * size print the number of rows and columns according to the kernel\n" | - |
927 | , 5) | - |
928 | , | - |
929 | stdout | - |
930 | ) | - |
931 | | - |
932 | | - |
933 | ; | - |
934 | | - |
935 | fputs_unlocked ( | - |
936 | dcgettext (((void *)0), | - |
937 | " speed print the terminal speed\n time N with -icanon, set read timeout of N tenths of a second\n" | - |
938 | , 5) | - |
939 | , | - |
940 | stdout | - |
941 | ) | - |
942 | | - |
943 | | - |
944 | ; | - |
945 | fputs_unlocked ( | - |
946 | dcgettext (((void *)0), | - |
947 | "\nControl settings:\n [-]clocal disable modem control signals\n [-]cread allow input to be received\n" | - |
948 | , 5) | - |
949 | , | - |
950 | stdout | - |
951 | ) | - |
952 | | - |
953 | | - |
954 | | - |
955 | | - |
956 | ; | - |
957 | | - |
958 | fputs_unlocked ( | - |
959 | dcgettext (((void *)0), | - |
960 | " * [-]crtscts enable RTS/CTS handshaking\n" | - |
961 | , 5) | - |
962 | , | - |
963 | stdout | - |
964 | ) | - |
965 | | - |
966 | ; | - |
967 | | - |
968 | | - |
969 | | - |
970 | | - |
971 | | - |
972 | | - |
973 | fputs_unlocked ( | - |
974 | dcgettext (((void *)0), | - |
975 | " csN set character size to N bits, N in [5..8]\n" | - |
976 | , 5) | - |
977 | , | - |
978 | stdout | - |
979 | ) | - |
980 | | - |
981 | ; | - |
982 | fputs_unlocked ( | - |
983 | dcgettext (((void *)0), | - |
984 | " [-]cstopb use two stop bits per character (one with '-')\n [-]hup send a hangup signal when the last process closes the tty\n [-]hupcl same as [-]hup\n [-]parenb generate parity bit in output and expect parity bit in input\n [-]parodd set odd parity (or even parity with '-')\n" | - |
985 | , 5) | - |
986 | , | - |
987 | stdout | - |
988 | ) | - |
989 | | - |
990 | | - |
991 | | - |
992 | | - |
993 | | - |
994 | ; | - |
995 | | - |
996 | fputs_unlocked ( | - |
997 | dcgettext (((void *)0), | - |
998 | " * [-]cmspar use \"stick\" (mark/space) parity\n" | - |
999 | , 5) | - |
1000 | , | - |
1001 | stdout | - |
1002 | ) | - |
1003 | | - |
1004 | ; | - |
1005 | | - |
1006 | fputs_unlocked ( | - |
1007 | dcgettext (((void *)0), | - |
1008 | "\nInput settings:\n [-]brkint breaks cause an interrupt signal\n [-]icrnl translate carriage return to newline\n [-]ignbrk ignore break characters\n [-]igncr ignore carriage return\n [-]ignpar ignore characters with parity errors\n" | - |
1009 | , 5) | - |
1010 | , | - |
1011 | stdout | - |
1012 | ) | - |
1013 | | - |
1014 | | - |
1015 | | - |
1016 | | - |
1017 | | - |
1018 | | - |
1019 | | - |
1020 | ; | - |
1021 | | - |
1022 | fputs_unlocked ( | - |
1023 | dcgettext (((void *)0), | - |
1024 | " * [-]imaxbel beep and do not flush a full input buffer on a character\n" | - |
1025 | , 5) | - |
1026 | , | - |
1027 | stdout | - |
1028 | ) | - |
1029 | | - |
1030 | ; | - |
1031 | | - |
1032 | fputs_unlocked ( | - |
1033 | dcgettext (((void *)0), | - |
1034 | " [-]inlcr translate newline to carriage return\n [-]inpck enable input parity checking\n [-]istrip clear high (8th) bit of input characters\n" | - |
1035 | , 5) | - |
1036 | , | - |
1037 | stdout | - |
1038 | ) | - |
1039 | | - |
1040 | | - |
1041 | | - |
1042 | ; | - |
1043 | | - |
1044 | fputs_unlocked ( | - |
1045 | dcgettext (((void *)0), | - |
1046 | " * [-]iutf8 assume input characters are UTF-8 encoded\n" | - |
1047 | , 5) | - |
1048 | , | - |
1049 | stdout | - |
1050 | ) | - |
1051 | | - |
1052 | ; | - |
1053 | | - |
1054 | | - |
1055 | fputs_unlocked ( | - |
1056 | dcgettext (((void *)0), | - |
1057 | " * [-]iuclc translate uppercase characters to lowercase\n" | - |
1058 | , 5) | - |
1059 | , | - |
1060 | stdout | - |
1061 | ) | - |
1062 | | - |
1063 | ; | - |
1064 | | - |
1065 | | - |
1066 | fputs_unlocked ( | - |
1067 | dcgettext (((void *)0), | - |
1068 | " * [-]ixany let any character restart output, not only start character\n" | - |
1069 | , 5) | - |
1070 | , | - |
1071 | stdout | - |
1072 | ) | - |
1073 | | - |
1074 | ; | - |
1075 | | - |
1076 | fputs_unlocked ( | - |
1077 | dcgettext (((void *)0), | - |
1078 | " [-]ixoff enable sending of start/stop characters\n [-]ixon enable XON/XOFF flow control\n [-]parmrk mark parity errors (with a 255-0-character sequence)\n [-]tandem same as [-]ixoff\n" | - |
1079 | , 5) | - |
1080 | , | - |
1081 | stdout | - |
1082 | ) | - |
1083 | | - |
1084 | | - |
1085 | | - |
1086 | | - |
1087 | ; | - |
1088 | fputs_unlocked ( | - |
1089 | dcgettext (((void *)0), | - |
1090 | "\nOutput settings:\n" | - |
1091 | , 5) | - |
1092 | , | - |
1093 | stdout | - |
1094 | ) | - |
1095 | | - |
1096 | | - |
1097 | ; | - |
1098 | | - |
1099 | fputs_unlocked ( | - |
1100 | dcgettext (((void *)0), | - |
1101 | " * bsN backspace delay style, N in [0..1]\n" | - |
1102 | , 5) | - |
1103 | , | - |
1104 | stdout | - |
1105 | ) | - |
1106 | | - |
1107 | ; | - |
1108 | | - |
1109 | | - |
1110 | fputs_unlocked ( | - |
1111 | dcgettext (((void *)0), | - |
1112 | " * crN carriage return delay style, N in [0..3]\n" | - |
1113 | , 5) | - |
1114 | , | - |
1115 | stdout | - |
1116 | ) | - |
1117 | | - |
1118 | ; | - |
1119 | | - |
1120 | | - |
1121 | fputs_unlocked ( | - |
1122 | dcgettext (((void *)0), | - |
1123 | " * ffN form feed delay style, N in [0..1]\n" | - |
1124 | , 5) | - |
1125 | , | - |
1126 | stdout | - |
1127 | ) | - |
1128 | | - |
1129 | ; | - |
1130 | | - |
1131 | | - |
1132 | fputs_unlocked ( | - |
1133 | dcgettext (((void *)0), | - |
1134 | " * nlN newline delay style, N in [0..1]\n" | - |
1135 | , 5) | - |
1136 | , | - |
1137 | stdout | - |
1138 | ) | - |
1139 | | - |
1140 | ; | - |
1141 | | - |
1142 | | - |
1143 | fputs_unlocked ( | - |
1144 | dcgettext (((void *)0), | - |
1145 | " * [-]ocrnl translate carriage return to newline\n" | - |
1146 | , 5) | - |
1147 | , | - |
1148 | stdout | - |
1149 | ) | - |
1150 | | - |
1151 | ; | - |
1152 | | - |
1153 | | - |
1154 | fputs_unlocked ( | - |
1155 | dcgettext (((void *)0), | - |
1156 | " * [-]ofdel use delete characters for fill instead of NUL characters\n" | - |
1157 | , 5) | - |
1158 | , | - |
1159 | stdout | - |
1160 | ) | - |
1161 | | - |
1162 | ; | - |
1163 | | - |
1164 | | - |
1165 | fputs_unlocked ( | - |
1166 | dcgettext (((void *)0), | - |
1167 | " * [-]ofill use fill (padding) characters instead of timing for delays\n" | - |
1168 | , 5) | - |
1169 | , | - |
1170 | stdout | - |
1171 | ) | - |
1172 | | - |
1173 | ; | - |
1174 | | - |
1175 | | - |
1176 | fputs_unlocked ( | - |
1177 | dcgettext (((void *)0), | - |
1178 | " * [-]olcuc translate lowercase characters to uppercase\n" | - |
1179 | , 5) | - |
1180 | , | - |
1181 | stdout | - |
1182 | ) | - |
1183 | | - |
1184 | ; | - |
1185 | | - |
1186 | | - |
1187 | fputs_unlocked ( | - |
1188 | dcgettext (((void *)0), | - |
1189 | " * [-]onlcr translate newline to carriage return-newline\n" | - |
1190 | , 5) | - |
1191 | , | - |
1192 | stdout | - |
1193 | ) | - |
1194 | | - |
1195 | ; | - |
1196 | | - |
1197 | | - |
1198 | fputs_unlocked ( | - |
1199 | dcgettext (((void *)0), | - |
1200 | " * [-]onlret newline performs a carriage return\n" | - |
1201 | , 5) | - |
1202 | , | - |
1203 | stdout | - |
1204 | ) | - |
1205 | | - |
1206 | ; | - |
1207 | | - |
1208 | | - |
1209 | fputs_unlocked ( | - |
1210 | dcgettext (((void *)0), | - |
1211 | " * [-]onocr do not print carriage returns in the first column\n" | - |
1212 | , 5) | - |
1213 | , | - |
1214 | stdout | - |
1215 | ) | - |
1216 | | - |
1217 | ; | - |
1218 | | - |
1219 | fputs_unlocked ( | - |
1220 | dcgettext (((void *)0), | - |
1221 | " [-]opost postprocess output\n" | - |
1222 | , 5) | - |
1223 | , | - |
1224 | stdout | - |
1225 | ) | - |
1226 | | - |
1227 | ; | - |
1228 | | - |
1229 | fputs_unlocked ( | - |
1230 | dcgettext (((void *)0), | - |
1231 | " * tabN horizontal tab delay style, N in [0..3]\n * tabs same as tab0\n * -tabs same as tab3\n" | - |
1232 | , 5) | - |
1233 | , | - |
1234 | stdout | - |
1235 | ) | - |
1236 | | - |
1237 | | - |
1238 | | - |
1239 | ; | - |
1240 | | - |
1241 | | - |
1242 | fputs_unlocked ( | - |
1243 | dcgettext (((void *)0), | - |
1244 | " * vtN vertical tab delay style, N in [0..1]\n" | - |
1245 | , 5) | - |
1246 | , | - |
1247 | stdout | - |
1248 | ) | - |
1249 | | - |
1250 | ; | - |
1251 | | - |
1252 | fputs_unlocked ( | - |
1253 | dcgettext (((void *)0), | - |
1254 | "\nLocal settings:\n [-]crterase echo erase characters as backspace-space-backspace\n" | - |
1255 | , 5) | - |
1256 | , | - |
1257 | stdout | - |
1258 | ) | - |
1259 | | - |
1260 | | - |
1261 | | - |
1262 | ; | - |
1263 | | - |
1264 | fputs_unlocked ( | - |
1265 | dcgettext (((void *)0), | - |
1266 | " * crtkill kill all line by obeying the echoprt and echoe settings\n * -crtkill kill all line by obeying the echoctl and echok settings\n" | - |
1267 | , 5) | - |
1268 | , | - |
1269 | stdout | - |
1270 | ) | - |
1271 | | - |
1272 | | - |
1273 | ; | - |
1274 | | - |
1275 | | - |
1276 | fputs_unlocked ( | - |
1277 | dcgettext (((void *)0), | - |
1278 | " * [-]ctlecho echo control characters in hat notation ('^c')\n" | - |
1279 | , 5) | - |
1280 | , | - |
1281 | stdout | - |
1282 | ) | - |
1283 | | - |
1284 | ; | - |
1285 | | - |
1286 | fputs_unlocked ( | - |
1287 | dcgettext (((void *)0), | - |
1288 | " [-]echo echo input characters\n" | - |
1289 | , 5) | - |
1290 | , | - |
1291 | stdout | - |
1292 | ) | - |
1293 | | - |
1294 | ; | - |
1295 | | - |
1296 | fputs_unlocked ( | - |
1297 | dcgettext (((void *)0), | - |
1298 | " * [-]echoctl same as [-]ctlecho\n" | - |
1299 | , 5) | - |
1300 | , | - |
1301 | stdout | - |
1302 | ) | - |
1303 | | - |
1304 | ; | - |
1305 | | - |
1306 | fputs_unlocked ( | - |
1307 | dcgettext (((void *)0), | - |
1308 | " [-]echoe same as [-]crterase\n [-]echok echo a newline after a kill character\n" | - |
1309 | , 5) | - |
1310 | , | - |
1311 | stdout | - |
1312 | ) | - |
1313 | | - |
1314 | | - |
1315 | ; | - |
1316 | | - |
1317 | fputs_unlocked ( | - |
1318 | dcgettext (((void *)0), | - |
1319 | " * [-]echoke same as [-]crtkill\n" | - |
1320 | , 5) | - |
1321 | , | - |
1322 | stdout | - |
1323 | ) | - |
1324 | | - |
1325 | ; | - |
1326 | | - |
1327 | fputs_unlocked ( | - |
1328 | dcgettext (((void *)0), | - |
1329 | " [-]echonl echo newline even if not echoing other characters\n" | - |
1330 | , 5) | - |
1331 | , | - |
1332 | stdout | - |
1333 | ) | - |
1334 | | - |
1335 | ; | - |
1336 | | - |
1337 | fputs_unlocked ( | - |
1338 | dcgettext (((void *)0), | - |
1339 | " * [-]echoprt echo erased characters backward, between '\\' and '/'\n" | - |
1340 | , 5) | - |
1341 | , | - |
1342 | stdout | - |
1343 | ) | - |
1344 | | - |
1345 | ; | - |
1346 | | - |
1347 | | - |
1348 | fputs_unlocked ( | - |
1349 | dcgettext (((void *)0), | - |
1350 | " * [-]extproc enable \"LINEMODE\"; useful with high latency links\n" | - |
1351 | , 5) | - |
1352 | , | - |
1353 | stdout | - |
1354 | ) | - |
1355 | | - |
1356 | ; | - |
1357 | | - |
1358 | | - |
1359 | fputs_unlocked ( | - |
1360 | dcgettext (((void *)0), | - |
1361 | " * [-]flusho discard output\n" | - |
1362 | , 5) | - |
1363 | , | - |
1364 | stdout | - |
1365 | ) | - |
1366 | | - |
1367 | ; | - |
1368 | | - |
1369 | printf ( | - |
1370 | dcgettext (((void *)0), | - |
1371 | " [-]icanon enable special characters: %s\n [-]iexten enable non-POSIX special characters\n" | - |
1372 | , 5) | - |
1373 | | - |
1374 | | - |
1375 | | - |
1376 | , "erase, kill" | - |
1377 | | - |
1378 | ", werase" | - |
1379 | | - |
1380 | | - |
1381 | ", rprnt" | - |
1382 | | - |
1383 | ); | - |
1384 | fputs_unlocked ( | - |
1385 | dcgettext (((void *)0), | - |
1386 | " [-]isig enable interrupt, quit, and suspend special characters\n [-]noflsh disable flushing after interrupt and quit special characters\n" | - |
1387 | , 5) | - |
1388 | , | - |
1389 | stdout | - |
1390 | ) | - |
1391 | | - |
1392 | | - |
1393 | ; | - |
1394 | | - |
1395 | fputs_unlocked ( | - |
1396 | dcgettext (((void *)0), | - |
1397 | " * [-]prterase same as [-]echoprt\n" | - |
1398 | , 5) | - |
1399 | , | - |
1400 | stdout | - |
1401 | ) | - |
1402 | | - |
1403 | ; | - |
1404 | | - |
1405 | | - |
1406 | fputs_unlocked ( | - |
1407 | dcgettext (((void *)0), | - |
1408 | " * [-]tostop stop background jobs that try to write to the terminal\n" | - |
1409 | , 5) | - |
1410 | , | - |
1411 | stdout | - |
1412 | ) | - |
1413 | | - |
1414 | ; | - |
1415 | | - |
1416 | | - |
1417 | fputs_unlocked ( | - |
1418 | dcgettext (((void *)0), | - |
1419 | " * [-]xcase with icanon, escape with '\\' for uppercase characters\n" | - |
1420 | , 5) | - |
1421 | , | - |
1422 | stdout | - |
1423 | ) | - |
1424 | | - |
1425 | ; | - |
1426 | | - |
1427 | fputs_unlocked ( | - |
1428 | dcgettext (((void *)0), | - |
1429 | "\nCombination settings:\n" | - |
1430 | , 5) | - |
1431 | , | - |
1432 | stdout | - |
1433 | ) | - |
1434 | | - |
1435 | | - |
1436 | ; | - |
1437 | | - |
1438 | fputs_unlocked ( | - |
1439 | dcgettext (((void *)0), | - |
1440 | " * [-]LCASE same as [-]lcase\n" | - |
1441 | , 5) | - |
1442 | , | - |
1443 | stdout | - |
1444 | ) | - |
1445 | | - |
1446 | ; | - |
1447 | | - |
1448 | fputs_unlocked ( | - |
1449 | dcgettext (((void *)0), | - |
1450 | " cbreak same as -icanon\n -cbreak same as icanon\n" | - |
1451 | , 5) | - |
1452 | , | - |
1453 | stdout | - |
1454 | ) | - |
1455 | | - |
1456 | | - |
1457 | ; | - |
1458 | fputs_unlocked ( | - |
1459 | dcgettext (((void *)0), | - |
1460 | " cooked same as brkint ignpar istrip icrnl ixon opost isig\n icanon, eof and eol characters to their default values\n -cooked same as raw\n" | - |
1461 | , 5) | - |
1462 | , | - |
1463 | stdout | - |
1464 | ) | - |
1465 | | - |
1466 | | - |
1467 | | - |
1468 | ; | - |
1469 | printf ( | - |
1470 | dcgettext (((void *)0), | - |
1471 | " crt same as %s\n" | - |
1472 | , 5) | - |
1473 | | - |
1474 | | - |
1475 | , "echoe" | - |
1476 | | - |
1477 | " echoctl" | - |
1478 | | - |
1479 | | - |
1480 | " echoke" | - |
1481 | | - |
1482 | ); | - |
1483 | printf ( | - |
1484 | dcgettext (((void *)0), | - |
1485 | " dec same as %s intr ^c erase 0177\n kill ^u\n" | - |
1486 | , 5) | - |
1487 | | - |
1488 | | - |
1489 | | - |
1490 | , "echoe" | - |
1491 | | - |
1492 | " echoctl" | - |
1493 | | - |
1494 | | - |
1495 | " echoke" | - |
1496 | | - |
1497 | | - |
1498 | " -ixany" | - |
1499 | | - |
1500 | ); | - |
1501 | | - |
1502 | fputs_unlocked ( | - |
1503 | dcgettext (((void *)0), | - |
1504 | " * [-]decctlq same as [-]ixany\n" | - |
1505 | , 5) | - |
1506 | , | - |
1507 | stdout | - |
1508 | ) | - |
1509 | | - |
1510 | ; | - |
1511 | | - |
1512 | fputs_unlocked ( | - |
1513 | dcgettext (((void *)0), | - |
1514 | " ek erase and kill characters to their default values\n evenp same as parenb -parodd cs7\n -evenp same as -parenb cs8\n" | - |
1515 | , 5) | - |
1516 | , | - |
1517 | stdout | - |
1518 | ) | - |
1519 | | - |
1520 | | - |
1521 | | - |
1522 | ; | - |
1523 | | - |
1524 | fputs_unlocked ( | - |
1525 | dcgettext (((void *)0), | - |
1526 | " * [-]lcase same as xcase iuclc olcuc\n" | - |
1527 | , 5) | - |
1528 | , | - |
1529 | stdout | - |
1530 | ) | - |
1531 | | - |
1532 | ; | - |
1533 | | - |
1534 | fputs_unlocked ( | - |
1535 | dcgettext (((void *)0), | - |
1536 | " litout same as -parenb -istrip -opost cs8\n -litout same as parenb istrip opost cs7\n" | - |
1537 | , 5) | - |
1538 | , | - |
1539 | stdout | - |
1540 | ) | - |
1541 | | - |
1542 | | - |
1543 | ; | - |
1544 | printf ( | - |
1545 | dcgettext (((void *)0), | - |
1546 | " nl same as %s\n -nl same as %s\n" | - |
1547 | , 5) | - |
1548 | | - |
1549 | | - |
1550 | | - |
1551 | , "-icrnl" | - |
1552 | | - |
1553 | " -onlcr" | - |
1554 | | - |
1555 | , "icrnl -inlcr -igncr" | - |
1556 | | - |
1557 | " onlcr" | - |
1558 | | - |
1559 | | - |
1560 | " -ocrnl" | - |
1561 | | - |
1562 | | - |
1563 | " -onlret" | - |
1564 | | - |
1565 | ); | - |
1566 | fputs_unlocked ( | - |
1567 | dcgettext (((void *)0), | - |
1568 | " oddp same as parenb parodd cs7\n -oddp same as -parenb cs8\n [-]parity same as [-]evenp\n pass8 same as -parenb -istrip cs8\n -pass8 same as parenb istrip cs7\n" | - |
1569 | , 5) | - |
1570 | , | - |
1571 | stdout | - |
1572 | ) | - |
1573 | | - |
1574 | | - |
1575 | | - |
1576 | | - |
1577 | | - |
1578 | ; | - |
1579 | printf ( | - |
1580 | dcgettext (((void *)0), | - |
1581 | " raw same as -ignbrk -brkint -ignpar -parmrk -inpck -istrip\n -inlcr -igncr -icrnl -ixon -ixoff -icanon -opost\n -isig%s min 1 time 0\n -raw same as cooked\n" | - |
1582 | , 5) | - |
1583 | | - |
1584 | | - |
1585 | | - |
1586 | | - |
1587 | | - |
1588 | , | - |
1589 | | - |
1590 | " -iuclc" | - |
1591 | | - |
1592 | | - |
1593 | " -ixany" | - |
1594 | | - |
1595 | | - |
1596 | " -imaxbel" | - |
1597 | | - |
1598 | | - |
1599 | " -xcase" | - |
1600 | | - |
1601 | ); | - |
1602 | printf ( | - |
1603 | dcgettext (((void *)0), | - |
1604 | " sane same as cread -ignbrk brkint -inlcr -igncr icrnl\n icanon iexten echo echoe echok -echonl -noflsh\n %s\n %s\n %s,\n all special characters to their default values\n" | - |
1605 | , 5) | - |
1606 | | - |
1607 | | - |
1608 | | - |
1609 | | - |
1610 | | - |
1611 | | - |
1612 | | - |
1613 | , | - |
1614 | "-ixoff" | - |
1615 | | - |
1616 | " -iutf8" | - |
1617 | | - |
1618 | | - |
1619 | " -iuclc" | - |
1620 | | - |
1621 | | - |
1622 | " -ixany" | - |
1623 | | - |
1624 | | - |
1625 | " imaxbel" | - |
1626 | | - |
1627 | | - |
1628 | " -xcase" | - |
1629 | | - |
1630 | | - |
1631 | " -olcuc" | - |
1632 | | - |
1633 | | - |
1634 | " -ocrnl" | - |
1635 | | - |
1636 | | - |
1637 | , "opost" | - |
1638 | | - |
1639 | " -ofill" | - |
1640 | | - |
1641 | | - |
1642 | " onlcr" | - |
1643 | | - |
1644 | | - |
1645 | " -onocr" | - |
1646 | | - |
1647 | | - |
1648 | " -onlret" | - |
1649 | | - |
1650 | | - |
1651 | " nl0" | - |
1652 | | - |
1653 | | - |
1654 | " cr0" | - |
1655 | | - |
1656 | | - |
1657 | " tab0" | - |
1658 | | - |
1659 | | - |
1660 | " bs0" | - |
1661 | | - |
1662 | | - |
1663 | " vt0" | - |
1664 | | - |
1665 | | - |
1666 | " ff0" | - |
1667 | | - |
1668 | | - |
1669 | , "isig" | - |
1670 | | - |
1671 | " -tostop" | - |
1672 | | - |
1673 | | - |
1674 | " -ofdel" | - |
1675 | | - |
1676 | | - |
1677 | " -echoprt" | - |
1678 | | - |
1679 | | - |
1680 | " echoctl" | - |
1681 | | - |
1682 | | - |
1683 | " echoke" | - |
1684 | | - |
1685 | | - |
1686 | " -extproc" | - |
1687 | | - |
1688 | | - |
1689 | " -flusho" | - |
1690 | | - |
1691 | ); | - |
1692 | fputs_unlocked ( | - |
1693 | dcgettext (((void *)0), | - |
1694 | "\nHandle the tty line connected to standard input. Without arguments,\nprints baud rate, line discipline, and deviations from stty sane. In\nsettings, CHAR is taken literally, or coded as in ^c, 0x37, 0177 or\n127; special values ^- or undef used to disable special characters.\n" | - |
1695 | , 5) | - |
1696 | , | - |
1697 | stdout | - |
1698 | ) | - |
1699 | | - |
1700 | | - |
1701 | | - |
1702 | | - |
1703 | | - |
1704 | ; | - |
1705 | emit_ancillary_info ("stty"); | - |
1706 | }executed 2 times by 1 test: end of block | 2 |
1707 | exit (status);executed 3 times by 1 test: exit (status); | 3 |
1708 | } | - |
1709 | | - |
1710 | | - |
1711 | | - |
1712 | | - |
1713 | | - |
1714 | | - |
1715 | | - |
1716 | static void | - |
1717 | apply_settings ( | - |
1718 | _Bool | - |
1719 | checking, const char *device_name, | - |
1720 | char * const *settings, int n_settings, | - |
1721 | struct termios *mode, | - |
1722 | _Bool | - |
1723 | *speed_was_set, | - |
1724 | | - |
1725 | _Bool | - |
1726 | *require_set_attr) | - |
1727 | { | - |
1728 | for (int k = 1; k < n_settingsTRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
; k++) | 0-1 |
1729 | { | - |
1730 | char const *arg = settings[k]; | - |
1731 | | - |
1732 | _Bool | - |
1733 | match_found = | - |
1734 | 0 | - |
1735 | ; | - |
1736 | | - |
1737 | _Bool | - |
1738 | not_set_attr = | - |
1739 | 0 | - |
1740 | ; | - |
1741 | | - |
1742 | _Bool | - |
1743 | reversed = | - |
1744 | 0 | - |
1745 | ; | - |
1746 | int i; | - |
1747 | | - |
1748 | if (! argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
1749 | continue; never executed: continue; | 0 |
1750 | | - |
1751 | if (arg[0] == '-'TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) | 0-1 |
1752 | { | - |
1753 | ++arg; | - |
1754 | reversed = | - |
1755 | 1 | - |
1756 | ; | - |
1757 | }executed 1 time by 1 test: end of block | 1 |
1758 | if ((TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1759 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1760 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1761 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1762 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1763 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1764 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1765 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1766 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1767 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1768 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1769 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1770 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1771 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1772 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1773 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1774 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1775 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1776 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1777 | , TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1778 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1779 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1780 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1781 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1782 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1783 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1784 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1785 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1786 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1787 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1788 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1789 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1790 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1791 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1792 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1793 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1794 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1795 | , TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1796 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1797 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1798 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1799 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1800 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1801 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1802 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1803 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1804 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1805 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( arg ))[3] - __s2[3]); TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1806 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( arg ))[3] - __s2[3]); | 0-1 |
1807 | ))[3] - __s2[3]);TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( arg ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1808 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1809 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1810 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1811 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1812 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1813 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1814 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1815 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1816 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1817 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1818 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1819 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1820 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1821 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1822 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1823 | , TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1824 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1825 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1826 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1827 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1828 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1829 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1830 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1831 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1832 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1833 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "drain" ))[3] - __s2[3]); TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1834 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "drain" ))[3] - __s2[3]); | 0-1 |
1835 | ))[3] - __s2[3]);TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "drain" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1836 | argTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1837 | , TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1838 | "drain"TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1839 | )))); }) TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1840 | == 0)TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
1841 | { | - |
1842 | tcsetattr_options = reversedTRUE | never evaluated | FALSE | never evaluated |
? | 0 |
1843 | 0 | - |
1844 | : | - |
1845 | 1 | - |
1846 | ; | - |
1847 | continue; never executed: continue; | 0 |
1848 | } | - |
1849 | for (i = 0; mode_info[i].name != TRUE | evaluated 89 times by 1 test | FALSE | evaluated 1 time by 1 test |
| 1-89 |
1850 | ((void *)0)TRUE | evaluated 89 times by 1 test | FALSE | evaluated 1 time by 1 test |
| 1-89 |
1851 | ; ++i) | - |
1852 | { | - |
1853 | if ((TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1854 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1855 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1856 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1857 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1858 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1859 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1860 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1861 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1862 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1863 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1864 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1865 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1866 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1867 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1868 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1869 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1870 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1871 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1872 | , TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1873 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1874 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1875 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1876 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1877 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1878 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1879 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1880 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1881 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1882 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1883 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1884 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1885 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1886 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1887 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1888 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1889 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1890 | , TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1891 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1892 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1893 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1894 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1895 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1896 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1897 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1898 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1899 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1900 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( arg ))[3] - __s2[3]); TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1901 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( arg ))[3] - __s2[3]); | 0-89 |
1902 | ))[3] - __s2[3]);TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( arg ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1903 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1904 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1905 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1906 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1907 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1908 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1909 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1910 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1911 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1912 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1913 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1914 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1915 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1916 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1917 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1918 | , TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1919 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1920 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1921 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1922 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1923 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1924 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1925 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1926 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1927 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1928 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( mode_info[i].name ))[3] - __s2[3]); TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1929 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( mode_info[i].name ))[3] - __s2[3]); | 0-89 |
1930 | ))[3] - __s2[3]);TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( mode_info[i].name ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1931 | argTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1932 | , TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1933 | mode_info[i].nameTRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1934 | )))); }) TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
| 0-89 |
1935 | == 0)TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
) | 0-89 |
1936 | { | - |
1937 | if ((TRUE | never evaluated | FALSE | never evaluated |
mode_info[i].flags & 16) == 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1938 | { | - |
1939 | match_found = set_mode (&mode_info[i], reversed, mode); | - |
1940 | *require_set_attr = | - |
1941 | 1 | - |
1942 | ; | - |
1943 | } never executed: end of block | 0 |
1944 | else | - |
1945 | match_found = not_set_attr = never executed: match_found = not_set_attr = 1 ; | 0 |
1946 | 1 never executed: match_found = not_set_attr = 1 ; | 0 |
1947 | ; never executed: match_found = not_set_attr = 1 ; | 0 |
1948 | break; never executed: break; | 0 |
1949 | } | - |
1950 | }executed 89 times by 1 test: end of block | 89 |
1951 | if (!match_foundTRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
&& reversedTRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) | 0-1 |
1952 | { | - |
1953 | error (0, 0, | - |
1954 | dcgettext (((void *)0), | - |
1955 | "invalid argument %s" | - |
1956 | , 5) | - |
1957 | , quote (arg - 1)); | - |
1958 | usage ( | - |
1959 | 1 | - |
1960 | ); | - |
1961 | } never executed: end of block | 0 |
1962 | if (!match_foundTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1963 | { | - |
1964 | for (i = 0; control_info[i].name != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1965 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1966 | ; ++i) | - |
1967 | { | - |
1968 | if ((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1969 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1970 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1971 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1972 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1973 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1974 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1975 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1976 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1977 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1978 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1979 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1980 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1981 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1982 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1983 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1984 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1985 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1986 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1987 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1988 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1989 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1990 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1991 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1992 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1993 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1994 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1995 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1996 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1997 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1998 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1999 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2000 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2001 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2002 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2003 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2004 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2005 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2006 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2007 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2008 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2009 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2010 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2011 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2012 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2013 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2014 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2015 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( arg ))[3] - __s2[3]); | 0 |
2016 | argTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( arg ))[3] - __s2[3]); | 0 |
2017 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2018 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2019 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2020 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2021 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2022 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2023 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2024 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2025 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2026 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2027 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2028 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2029 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2030 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2031 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2032 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2033 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2034 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2035 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2036 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2037 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2038 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2039 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2040 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2041 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2042 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2043 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( control_info[i].name ))[3] - __s2[3]); | 0 |
2044 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( control_info[i].name ))[3] - __s2[3]); | 0 |
2045 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2046 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2047 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2048 | control_info[i].nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2049 | )))); }) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2050 | == 0)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2051 | { | - |
2052 | do { if (k == n_settings - 1TRUE | never evaluated | FALSE | never evaluated |
|| ! settings[k+1]TRUE | never evaluated | FALSE | never evaluated |
) { error (0, 0, | 0 |
2053 | dcgettext (((void *)0), | - |
2054 | "missing argument to %s" | - |
2055 | , 5) | - |
2056 | , quote (arg)); usage ( | - |
2057 | 1 | - |
2058 | ); } never executed: end of block } while (0); | 0 |
2059 | match_found = | - |
2060 | 1 | - |
2061 | ; | - |
2062 | ++k; | - |
2063 | set_control_char (&control_info[i], settings[k], mode); | - |
2064 | *require_set_attr = | - |
2065 | 1 | - |
2066 | ; | - |
2067 | break; never executed: break; | 0 |
2068 | } | - |
2069 | } never executed: end of block | 0 |
2070 | } never executed: end of block | 0 |
2071 | if (!match_foundTRUE | never evaluated | FALSE | never evaluated |
|| not_set_attrTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2072 | { | - |
2073 | if ((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2074 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2075 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2076 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2077 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2078 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2079 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2080 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2081 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2082 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2083 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2084 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2085 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2086 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2087 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2088 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2089 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2090 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2091 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2092 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2093 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2094 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2095 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2096 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2097 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2098 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2099 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2100 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2101 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2102 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2103 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2104 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2105 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2106 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2107 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2108 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2109 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2110 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2111 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2112 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2113 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2114 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2115 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2116 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2117 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2118 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2119 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2120 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( arg ))[3] - __s2[3]); | 0 |
2121 | argTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( arg ))[3] - __s2[3]); | 0 |
2122 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2123 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2124 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2125 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2126 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2127 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2128 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2129 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2130 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2131 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2132 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2133 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2134 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2135 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2136 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2137 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2138 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2139 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2140 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2141 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2142 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2143 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2144 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2145 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2146 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2147 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2148 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "ispeed" ))[3] - __s2[3]); | 0 |
2149 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "ispeed" ))[3] - __s2[3]); | 0 |
2150 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2151 | argTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2152 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2153 | "ispeed"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2154 | )))); }) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2155 | == 0)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2156 | { | - |
2157 | do { if (k == n_settings - 1TRUE | never evaluated | FALSE | never evaluated |
|| ! settings[k+1]TRUE | never evaluated | FALSE | never evaluated |
) { error (0, 0, | 0 |
2158 | dcgettext (((void *)0), | - |
2159 | "missing argument to %s" | - |
2160 | , 5) | - |
2161 | , quote (arg)); usage ( | - |
2162 | 1 | - |
2163 | ); } never executed: end of block } while (0); | 0 |
2164 | ++k; | - |
2165 | if (checkingTRUE | never evaluated | FALSE | never evaluated |
) | |