correct locking in stdio functions that tried to be lock-free
[musl] / src / stdio / getwchar.c
1 #include "stdio_impl.h"
2
3 wint_t getwchar(void)
4 {
5         return fgetwc(stdin);
6 }
7
8 weak_alias(getwchar, getwchar_unlocked);