File: mprintf.h

package info (click to toggle)
reprepro 4.2.0-2squeeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,016 kB
  • ctags: 3,674
  • sloc: ansic: 46,905; sh: 13,899; pascal: 160; makefile: 159; python: 138
file content (12 lines) | stat: -rw-r--r-- 320 bytes parent folder | download | duplicates (2)
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 *fmt,...) __attribute__ ((format (printf, 1, 2)));
/*@null@*/char * vmprintf(const char *fmt,va_list va);

#endif