~kris/suckless

surf

surf/common.c -rw-r--r-- 190 bytes
4c2073f6 — Kris Yotam chore: sync local state after restore (push updates, no pull) a month 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);
}