C++程序  |  17行  |  217 B

/*
 * putchar.c
 *
 * gcc "printf decompilation" expects this to exist...
 */

#include <stdio.h>

#undef putchar

int putchar(int c)
{
    unsigned char ch = c;

    return _fwrite(&ch, 1, stdout) == 1 ? ch : EOF;
}