diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-18 10:58:08 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-18 10:58:08 +0200 |
commit | 1f24a2196641f7d832300fd45c7f5e89559ecc34 (patch) | |
tree | dd9316c305118d269f9043a421bf7af9273a6723 /die.c | |
parent | e74b821cf13869a99ac2933493207680d6666186 (diff) |
more problem isolation
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); -} - |