fputc()
#include <stdio.h>
int fputc( int character , FILE* file_pointer );
This functions writes character to the file referenced by
file_pointer. fputc() returns the character written. If an
error occurs, EOF is returned.
See also putchar()
Back to Essential C Functions