1 #include <stdio.h> 2 #include <limits.h> 3 vsprintf(char * restrict s,const char * restrict fmt,va_list ap)4 int vsprintf(char *restrict s, const char *restrict fmt, va_list ap) 5 { 6 return vsnprintf(s, INT_MAX, fmt, ap); 7 } 8