~kris/suckless

surf

ref: 9eb4f964f337edc42728827901dcca0704cc9687 surf/common.c -rwxr-xr-x 190 bytes
9eb4f964 — Derek Taylor Initial push of my surf build. 6 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>

void
die(const char *errstr, ...)
{
	va_list ap;

	va_start(ap, errstr);
	vfprintf(stderr, errstr, ap);
	va_end(ap);
	exit(1);
}