fputc

Example: fputcInput-Output Functions

Writes a character to a stream.

int fputc( int c, FILE *file_pointer);
c The character to place in the stream.
file_pointer A pointer to a file.

Return Values

If there are no errors, returns the written character. If an error occurs, returns EOF.