mirror of git://git.suckless.org/sbase
16 lines
280 B
C
16 lines
280 B
C
|
/* See LICENSE file for copyright and license details. */
|
||
|
#include <stdarg.h>
|
||
|
#include "../util.h"
|
||
|
|
||
|
extern void venprintf(int, const char *, va_list);
|
||
|
|
||
|
void
|
||
|
enprintf(int status, const char *fmt, ...)
|
||
|
{
|
||
|
va_list ap;
|
||
|
|
||
|
va_start(ap, fmt);
|
||
|
venprintf(status, fmt, ap);
|
||
|
va_end(ap);
|
||
|
}
|