You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
297 B
19 lines
297 B
19 years ago
|
/*
|
||
|
* (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
|
||
|
* See LICENSE file for license details.
|
||
|
*/
|
||
|
|
||
|
#include <stdarg.h>
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
void
|
||
|
error(char *errstr, ...) {
|
||
|
va_list ap;
|
||
|
va_start(ap, errstr);
|
||
|
vfprintf(stderr, errstr, ap);
|
||
|
va_end(ap);
|
||
|
exit(1);
|
||
|
}
|
||
|
|