core: do aligned transfers in bcopy32
[syslinux.git] / com32 / lib / sprintf.c
blob31f28af0054bd0379ecc2f2362f639790979c190
1 /*
2 * sprintf.c
3 */
5 #include <stdio.h>
6 #include <unistd.h>
8 int sprintf(char *buffer, const char *format, ...)
10 va_list ap;
11 int rv;
13 va_start(ap, format);
14 rv = vsnprintf(buffer, ~(size_t)0, format, ap);
15 va_end(ap);
17 return rv;