Converts a single byte to a wide-character code.
#include <wchar.h> wint_t btowc ( int c);
(IN) Specifies the character code to convert.
If successful, returns the wide-character representation of the character. Otherwise, returns WEOF if c has a value of EOF or is not a valid (one-byte) character in the initial shift state.
The btowc function works relative to the locale of the local host.