diff options
Diffstat (limited to 'src/stdio/getwchar.c')
-rw-r--r-- | src/stdio/getwchar.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdio/getwchar.c b/src/stdio/getwchar.c new file mode 100644 index 0000000..2295bd4 --- /dev/null +++ b/src/stdio/getwchar.c @@ -0,0 +1,8 @@ +#include "stdio_impl.h" + +wint_t getwchar(void) +{ + return fgetwc(stdin); +} + +weak_alias(getwchar, getwchar_unlocked); |