GETWCHAR(3) Library Functions Manual GETWCHAR(3)

getwcharget a wide character from a stdin stream

#include <wchar.h>

wint_t getwchar(void);

The getwchar() getwc(stdin) . function is equivalent to

Refer to fgetwc(3) .

Refer to fgetwc(3) .

None.

If the value returned by getwchar() is stored into a variable of type wchar_t and then compared against the wint_t macro WEOF, the comparison need never succeed.

None.

fgetwc(3) , getwc(3) , <wchar.h> .

Derived from the MSE working draft.

February 1997 posix.fail