1 2 3 4 5 6 7 8 9
#include <libc.h> #include <stdio.h> int getc(FILE *stream) { return fgetc(stream); } weak_reference(getc, getc_unlocked);