The btowc function determines whether (unsigned char)c is a valid one-byte multibyte character in the initial shift state, and if so, returns a wide-character representation of that character.