mirror of https://github.com/vasi/pixz
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
207 B
C
13 lines
207 B
C
15 years ago
|
#include "pixz.h"
|
||
|
|
||
|
#include <stdarg.h>
|
||
|
|
||
|
void pixz_die(const char *fmt, ...) {
|
||
|
va_list args;
|
||
|
va_start(args, fmt);
|
||
|
vfprintf(stderr, fmt, args);
|
||
|
fflush(stderr);
|
||
|
va_end(args);
|
||
|
exit(1);
|
||
|
}
|