blob: bf5a98d7e6f70d376d679d43583ebc603038870b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <stdarg.h>
#include <stdlib.h>
#include "errors.h"
void
cerr(int code, const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
vwarn(fmt, ap);
va_end(ap);
exit(code);
}
|