summaryrefslogtreecommitdiff
path: root/lib/libc/err/errx.c
blob: 0afe999e521fb64a5dca8dcabd0e520d50712d92 (plain)
1
2
3
4
5
6
7
8
9
10
#include <err.h>
#include <stdarg.h>

__dead void errx(int eval, const char *fmt, ...)
{
	va_list ap;
	va_start(ap, fmt);
	verrx(eval, fmt, ap);
	va_end(ap);
}