| 71 | /*VARARGS1*/ |
| 72 | |
| 73 | void error |
| 74 | VA_DECL(const char *, s) |
| 75 | { |
| 76 | VA_START(s); |
| 77 | VA_INIT(s, const char *); |
| 78 | /* error() may get called before tty is initialized */ |
| 79 | if (iflags.window_inited) |
| 80 | term_end_screen(); |
| 81 | putchar('\n'); |
| 82 | Vprintf(s, VA_ARGS); |
| 83 | putchar('\n'); |
| 84 | VA_END(); |
| 85 | exit(EXIT_FAILURE); |
| 86 | } |
| 87 | |
| 88 | /*pctty.c*/ |
nothing calls this directly
no test coverage detected