cpp/string/multibyte/btowc

Widens a single-byte character 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
weof if is eof.

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