int vsprintf(
	char * __s,
	const char * __fmt,
	va_list ap)

Like sprintf() but takes a variable argument list for the arguments.