rewrite popen to use posix_spawn instead of fragile vfork hacks
[musl] / src / stdio / getwchar.c
1 #include "stdio_impl.h"
2 #include <wchar.h>
3
4 wint_t getwchar(void)
5 {
6         return fgetwc(stdin);
7 }
8
9 weak_alias(getwchar, getwchar_unlocked);