1
0
mirror of git://git.suckless.org/sbase synced 2024-12-23 15:34:38 +00:00
sbase/util/eprintf.c
Connor Lane Smith f24772dcbb add nohup
2011-06-18 06:41:28 +01:00

17 lines
293 B
C

/* See LICENSE file for copyright and license details. */
#include <stdarg.h>
#include <stdlib.h>
#include "../util.h"
extern void venprintf(int, const char *, va_list);
void
eprintf(const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
venprintf(EXIT_FAILURE, fmt, ap);
va_end(ap);
}