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

Function VA_DECL

sys/share/pctty.c:73–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71/*VARARGS1*/
72
73void error
74VA_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*/

Callers

nothing calls this directly

Calls 1

term_end_screenFunction · 0.50

Tested by

no test coverage detected