Returns a wide character from the stdin stream.
#include <wchar.h> wint_t getwchar ( void );
If successful, returns the next wide character, converted to a type wint_t, from the input stream pointed to by stdin. If the stream is at end-of-file, getwchar sets the EOF indicator and returns EOF. If a read error occurs, getwchar sets the error indicator, returns EOF, and sets errno to one of the following: