blob: db2b6f86eb5962e75ca5cbfbc31c4e83b28a24a8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include "panic.h"
void panicf(const char *format, ...)
{
va_list ap;
va_start(ap, format);
vfprintf(stderr, format, ap);
va_end(ap);
exit(1);
}
|