blob: 7dd7aa46d67a4e09935d5dd87e6a9815dbb9e7f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <stdlib.h>
#include <stdarg.h>
#include <err.h>
_Noreturn void errc(int eval, int status, const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
vwarnx(fmt, ap);
va_end(ap);
exit(eval);
}
|