getwchar(3) - Linux man page
Name
getwchar - read a wide character from standard inputSynopsis
#include <wchar.h> wint_t getwchar(void);
Description
For a nonlocking counterpart, see unlocked_stdio(3).
Return Value
The getwchar() function returns the next wide-character from standard input, or WEOF.Conforming to
C99.Notes
The behavior of getwchar() depends on the LC_CTYPE category of the current locale.It is reasonable to expect that getwchar() will actually read a multibyte sequence from standard input and then convert it to a wide character.