Everything

getwchar


Inputs one wide character from the standard input file (stdin).

[Format]

#include <wchar.h>

long getwchar(void);

[Return values]

Normal: End-of-file: WEOF

Otherwise: Input wide character

Abnormal: EOF

[Remarks]

When a read error occurs, the error indicator for that file is set.

The getwchar function is the wide-character version of the getchar function.