summaryrefslogtreecommitdiff
path: root/src/stdio/getwchar.c
blob: bd89e0ec9411074489e847183b6f1aec4c6af2de (plain)
1
2
3
4
5
6
7
8
9
#include "stdio_impl.h"
#include <wchar.h>

wint_t getwchar(void)
{
	return fgetwc(stdin);
}

weak_alias(getwchar, getwchar_unlocked);