@node fprintf, stdio @findex fprintf @subheading Syntax @example #include int fprintf(FILE *file, const char *format, @dots{}); @end example @subheading Description Prints formatted output to the named file. @xref{printf}. @subheading Return Value The number of characters written. @subheading Portability @portability ansi, posix