MCPcopy Create free account
hub / github.com/NetHack/NetHack / VA_DECL

Function VA_DECL

sys/vms/vmstty.c:567–584  ·  view source on GitHub ↗

fatal error */ VARARGS1*/

Source from the content-addressed store, hash-verified

565/* fatal error */
566/*VARARGS1*/
567void error
568VA_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;

Callers

nothing calls this directly

Calls 2

setttyFunction · 0.70
sethanguphandlerFunction · 0.70

Tested by

no test coverage detected