Function fputc

Top 

Declaration:

int fputc(char c, unsigned long stream);

Description

Puts a character on a stream.

fputc outputs character c to the specified stream.

Returned Value

On success, fputc returns character c. On error, it returns EOF.