2.12.5.3 fputc
Declaration:
int fputc(int
char, FILE *
stream);
Writes a character (an unsigned char
) specified by the argument char to the specified stream and advances the position indicator for the stream.
On success the character is returned. If an error occurs, the error indicator for the stream is set and EOF
is returned.