tcommon.c - surf - [fork] customized build of surf, the suckless webkit browser
HTML git clone git://src.adamsgaard.dk/surf
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
tcommon.c (190B)
---
1 #include <stdarg.h>
2 #include <stdio.h>
3 #include <stdlib.h>
4
5 void
6 die(const char *errstr, ...)
7 {
8 va_list ap;
9
10 va_start(ap, errstr);
11 vfprintf(stderr, errstr, ap);
12 va_end(ap);
13 exit(1);
14 }
15