use an accessor function for __libc data pointer when compiled as PIC
[musl] / src / stdio / getchar.c
1 #include <stdio.h>
2
3 int getchar(void)
4 {
5         return fgetc(stdin);
6 }