]> code.citadel.org Git - citadel.git/blob - citadel/snprintf.h
* Backport the important part of r8717 to stable. I forgot I did this on Friday...
[citadel.git] / citadel / snprintf.h
1 /* $Id$ */
2 #ifndef __DECC
3
4 #ifdef __GNUC__
5 int snprintf (char *buf, size_t max, const char *fmt, ...) __attribute__((__format__(__printf__,3,4)));
6 int vsnprintf (char *buf, size_t max, const char *fmt, va_list argp) __attribute__((__format__(__printf__,3,0)));
7 #else
8 int snprintf (char *buf, size_t max, const char *fmt, ...);
9 int vsnprintf (char *buf, size_t max, const char *fmt, va_list argp);
10 #endif
11
12 #endif