Add memtest support.
[syslinux-debian/hramrach.git] / com32 / lib / snprintf.c
blob304bab4d402994e4375b3af786e84ff9f85a606f
1 /*
2 * snprintf.c
3 */
5 #include <stdio.h>
7 int snprintf(char *buffer, size_t n, const char *format, ...)
9 va_list ap;
10 int rv;
12 va_start(ap, format);
13 rv = vsnprintf(buffer, n, format, ap);
14 va_end(ap);
15 return rv;