Return to compat_err.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.3, 2015/11/07 14:22:29 | version 1.4, 2015/11/26 07:42:11 | ||
---|---|---|---|
|
|
||
} | } | ||
void | void | ||
errx(int eval, const char *fmt, ...) | |||
{ | |||
va_list ap; | |||
va_start(ap, fmt); | |||
vwarnxi(fmt, ap); | |||
va_end(ap); | |||
fputc('\n', stderr); | |||
exit(eval); | |||
} | |||
void | |||
warn(const char *fmt, ...) | warn(const char *fmt, ...) | ||
{ | { | ||
va_list ap; | va_list ap; |