fix stupid bug in updating of O_ACCMODE for O_SEARCH support
[musl] / src / stdio / getchar.c
1 #include <stdio.h>
2
3 int getchar(void)
4 {
5         return fgetc(stdin);
6 }