Description. The putc() function converts c to unsigned char and then writes c to the output stream at the current position. ... The putc() function can be defined as a macro so the argument can be evaluated multiple times. The putc() and putchar() functions are not supported for files opened with type=record.