Function version of fputc.
fputc is usually equal to putc, except fputc is implemented as a function, but putc is implemented as a macro.