@node sprintf, stdio @subheading Syntax @example #include int sprintf(char *buffer, const char *format, @dots{}); @end example @subheading Description Sends formatted output from the arguments (@dots{}) to the @var{buffer}. @xref{printf}. @subheading Return Value The number of characters written. @subheading Portability @portability ansi, posix