wint_t btowc(int c);
btowc function determines whether c constitutes a valid single-byte character. If c is a valid single-byte character, btowc returns the wide character representation of that character
btowc returns WEOF if c has the value EOF or if (unsigned char)c does not constitute a valid single-byte character in the initial shift state.