int sprintf

int sprintf(char *__s, const char *__fmt,...)

Variant of printf() that sends the formatted characters to string s.