summaryrefslogtreecommitdiff
path: root/lib/libc/err/errx.c
blob: ab9c609d830f2714bb57fca8c27c832a99ecd262 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "sys/cdefs.h"
#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);
}