3 * Copyright (C) 1998-2000 A.J. van Os; Released under GPL
6 * Unix approximations of RISC-OS functions
16 * werr - write an error message and exit if needed
19 werr(int iFatal
, const char *szFormat
, ...)
23 va_start(tArg
, szFormat
);
24 (void)vfprintf(stderr
, szFormat
, tArg
);
26 fprintf(stderr
, "\n");
28 case 0: /* The message is just a warning, so no exit */
30 case 1: /* Fatal error with a standard exit */
32 default: /* Fatal error with a non-standard exit */
40 } /* end of visdelay_begin */
45 } /* end of visdelay_end */