aboutsummaryrefslogtreecommitdiff
path: root/src/stdio/getwchar.c
blob: b58af5980180507a05c741641e93a6dc80674aee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "stdio_impl.h"
#include <wchar.h>

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

weak_alias(getwchar, getwchar_unlocked);


#ifdef TEST
int
main(void) {
	return 0;
}
#endif