putw is supposed to return 0 (not the value written) on success
[oweals/musl.git] / src / stdio / getchar.c
1 #include <stdio.h>
2
3 int getchar(void)
4 {
5         return fgetc(stdin);
6 }