int fputc

int fputc(int __c, FILE *__stream)

The function fputc sends the character c (though given as type int) to stream. It returns the character, or EOF in case an error occurred.