dmi: check both the AC and ID flags at the same time
[syslinux.git] / com32 / lib / sprintf.c
blobd00274e02805870ac4290c1f18575915ab40ce5e
1 /*
2 * sprintf.c
3 */
5 #include <stdio.h>
6 #include <unistd.h>
7 #include <limits.h>
9 int sprintf(char *buffer, const char *format, ...)
11 va_list ap;
12 int rv;
14 va_start(ap, format);
15 rv = vsnprintf(buffer, INT_MAX, format, ap);
16 va_end(ap);
18 return rv;