The putchar function is identical to fputc (character, stdout). Compiling with the __UNIX_PUTC macro defined enables an optimization that uses a faster, inlined version of this function.