~kris/suckless

surf

ref: 0df92bd419342fea1835cf9d0f7cb0dcd9d1da7b surf/common.c -rw-r--r-- 190 bytes
0df92bd4 — Kris Yotam Add gitignore for build artifacts 5 months 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);
}