diff options
Diffstat (limited to 'die.c')
-rw-r--r-- | die.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -1,16 +0,0 @@ -#include <stdio.h> -#include <stdarg.h> -#include <stdlib.h> - -#include "die.h" - -void die(const char* fmt, ...) { - va_list args; - va_start(args, fmt); - vfprintf(stderr, fmt, args); - fflush(stderr); - va_end(args); - - exit(EXIT_FAILURE); -} - |