~kris/suckless

surf

ref: d5642cf4b8eb49feb892353206d4531a1fd542d6 surf/common.c -rw-r--r-- 190 bytes
d5642cf4 — Kris Yotam krisyotam surf build 1 year, 6 days 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);
}