getwchar
From cppreference.com
C
Concurrency support (C11)
File input/output
Types and objects
Functions
File access
Unformatted input/output
(C95)(C95)
(C95)
(C95)(C95)
(C95)
getwchar
(C95)
(C95)
(C95)
Formatted input
(C11)(C11)(C11)
(C95)(C95)(C95)(C11)(C11)(C11)
(C99)(C99)(C99)(C11)(C11)(C11)
(C99)(C99)(C99)(C11)(C11)(C11)
Direct input/output
Formatted output
(C99)(C11)(C11)(C11)(C11)
(C95)(C95)(C95)(C11)(C11)(C11)(C11)
(C99)(C11)(C11)(C11)(C11)
(C95)(C95)(C95)(C11)(C11)(C11)(C11)
File positioning
Error handling
Operations on files
(C11)
(C11)
Defined in header
<wchar.h>
wint_t getwchar(void);
(since C95)
Reads the next wide character from stdin .
Contents
[edit] Parameters
(none)
[edit] Return value
the obtained wide character or WEOF if an error has occurred or the end of file reached
[edit] References
- C11 standard (ISO/IEC 9899:2011):
- 7.29.3.7 The getwchar function (p: 424)
- C99 standard (ISO/IEC 9899:1999):
- 7.24.3.7 The getwchar function (p: 369-370)
[edit] See also
C++ documentation for getwchar