c/string/multibyte/btowc

Widens a single-byte character (reinterpreted as ) to its wide character equivalent.

Most multibyte character encodings use single-byte codes to represent the characters from the ASCII character set. This function may be used to convert such characters to.

Return value
if is eof

wide character representation of if  is a valid single-byte character in the initial shift state,  otherwise.