/* See the vsnprintf() documentation for format string extensions over C99.  */
int sprintf(char *buf, const char *fmt,...)
/* See the vsnprintf() documentation for format string extensions over C99.  */
int sprintf(char *buf, const char *fmt,...)
{
	va_list args;
	int i;
	va_start(args, fmt);
	i = vsnprintf(buf, INT_MAX, fmt, args);
	va_end(args);
	return i;
}