newer version

This commit is contained in:
ceriel
1986-05-21 18:32:20 +00:00
parent 5a84f07281
commit 0f04bc72bd
13 changed files with 870 additions and 64 deletions

View File

@@ -111,6 +111,20 @@ fatal(fmt, args)
sys_stop(S_EXIT);
}
/*VARARGS1*/
crash(fmt, args)
char *fmt;
int args;
{
_error(CRASH, NULLNODE, fmt, &args);
#ifdef DEBUG
sys_stop(S_ABORT);
#else
sys_stop(S_EXIT);
#endif
}
_error(class, node, fmt, argv)
int class;
struct node *node;