Simple putc() prototype