summaryrefslogtreecommitdiffstats
path: root/mprintf.h
blob: 4d01be07b6c0d14c6134ed9259fca586dcb5413f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef REPREPRO_MPRINTF
#define REPREPRO_MPRINTF

#include <stdarg.h>

/* This is just a asprintf-wrapper to be more easily used
 * and alwasy returns NULL on error */

/*@null@*/char * mprintf(const char *, ...) __attribute__ ((format (printf, 1, 2)));
/*@null@*/char * vmprintf(const char *, va_list);

#endif