getwchar

Header: <wchar.h>

Reads the next wide character from stdin.

# Declarations

wint_t getwchar(void);

(since C95)

# Return value

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

# See also