1 2 3 4 5 6 7 8 9
#include <libc.h> #include <stdio.h> int getchar(void) { return fgetc(stdin); } weak_reference(getchar, getchar_unlocked);