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