getwchar

From cppreference.com
< c | io
Defined in header <wchar.h>
wint_t getchar();

Reads the next wide character from stdin.

[edit] Parameters

(none)

[edit] Return value

the obtained wide character or WEOF if an error has occurred or the end of file reached

[edit] See also

reads a character from stdin
(function)
gets a wide character from a file stream
(function)