fatal error */ VARARGS1*/
| 565 | /* fatal error */ |
| 566 | /*VARARGS1*/ |
| 567 | void error |
| 568 | VA_DECL(const char *, s) |
| 569 | { |
| 570 | VA_START(s); |
| 571 | VA_INIT(s, const char *); |
| 572 | |
| 573 | if (settty_needed) |
| 574 | settty((char *) 0); |
| 575 | Vprintf(s, VA_ARGS); |
| 576 | (void) putchar('\n'); |
| 577 | VA_END(); |
| 578 | #ifndef SAVE_ON_FATAL_ERROR |
| 579 | /* prevent vmsmain's exit handler byebye() from calling hangup() */ |
| 580 | /* sethanguphandler((void (*)(int) )) SIG_DFL; */ |
| 581 | sethanguphandler((SIG_RET_TYPE) SIG_DFL); |
| 582 | #endif |
| 583 | exit(EXIT_FAILURE); |
| 584 | } |
| 585 | |
| 586 | #ifdef SIGWINCH |
| 587 | /* called by resize_tty(wintty.c) after receiving a SIGWINCH signal; |
nothing calls this directly
no test coverage detected