SysTutorials

Linux Manual Pages › Section 3

stdgetwchar(3)

std::getwchar - std::getwchar

Synopsis

Defined in header <cwchar>
wint_t getwchar();

Reads the next wide character from stdin.

Parameters

(none)

Return value

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

See also

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