Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3553f5d3f01ab8ad5cb3d5861a1d6811238c834f
[dwm.git]
/
util.c
1
/*
2
* (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
3
* See LICENSE file for license details.
4
*/
5
6
#include <stdarg.h>
7
#include <stdio.h>
8
#include <stdlib.h>
9
10
void
11
error(char *errstr, ...) {
12
va_list ap;
13
va_start(ap, errstr);
14
vfprintf(stderr, errstr, ap);
15
va_end(ap);
16
exit(1);
17
}
18