add tuples
[ccc.git] / util.h
1 #ifndef UTIL_H
2 #define UTIL_H
3
4 #include <stdarg.h>
5
6 void die(const char *msg, ...);
7 void pdie(const char *msg);
8
9 void pindent(int indent, FILE *out);
10 void safe_fprintf(FILE *out, const char *msg, ...);
11 void *safe_malloc(size_t size);
12 void *safe_strdup(const char *c);
13
14 #endif