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

Function error

outdated/sys/mac/macerrs.c:18–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#endif
17
18void
19error(const char *format, ...)
20{
21 Str255 buf;
22 va_list ap;
23
24 va_start(ap, format);
25 vsprintf((char *) buf, format, ap);
26 va_end(ap);
27
28 C2P((char *) buf, buf);
29 ParamText(buf, (StringPtr) "", (StringPtr) "", (StringPtr) "");
30 Alert(128, (ModalFilterUPP) NULL);
31 ExitToShell();
32}
33
34#if 0 /* Remainder of file is obsolete and will be removed */
35

Callers 15

_mt_init_stuffFunction · 0.70
mac_init_nhwindowsFunction · 0.70
mac_create_nhwindowFunction · 0.70
mac_clear_nhwindowFunction · 0.70
mac_display_nhwindowFunction · 0.70
mac_destroy_nhwindowFunction · 0.70
mac_putstrFunction · 0.70
mac_add_menuFunction · 0.70
mac_display_fileFunction · 0.70
pushattemptingtoFunction · 0.70
popattemptFunction · 0.70
ToggleWrapStatusFunction · 0.50

Calls 1

C2PFunction · 0.85

Tested by

no test coverage detected