stride/die.c

13 lines
188 B
C
Raw Normal View History

2013-09-18 14:12:31 +00:00
#include <stdarg.h>
#include <stdio.h>
void die(char *format, ... ) {
void exit(int return_code);
va_list ptr;
va_start(ptr,format);
vfprintf(stderr,format,ptr);
exit(1);
va_end(ptr);
}