#include <stdio.h>

int fprintf( FILE* file_pointer, char* string, ... );

This functions writes formatted output to the file referenced by file_pointer. The string parameter points to characters to be printed as well as formatting information. fprintf() returns the number of characters written. If an error occurs, a negative number will be returned.

See also printf()

Back to Essential C Functions

Log in or register to write something here or to contact authors.