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