Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (17 sloc) 339 Bytes
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
static void vreportf(const char *fmt, va_list params)
char msg[4096];
vsnprintf(msg, sizeof(msg), fmt, params);
fprintf(stderr, "%s\n", msg);
void die(const char *fmt, ...)
va_list params;
va_start(params, fmt);
vreportf(fmt, params);
Jump to Line
Something went wrong with that request. Please try again.