ref: 3cc8de7beda4e1a99a33728014953fc1158a336a
dir: /src/libscc/die.c/
#include <stdarg.h> #include <stdlib.h> #include <stdio.h> #include <scc/scc.h> int failure; void die(const char *fmt, ...) { failure = 1; va_list va; va_start(va, fmt); vfprintf(stderr, fmt, va); putc('\n', stderr); va_end(va); exit(1); }