Converts a character to a wide character.
#include <wchar.h> wint_t btowc(int c);
c
The character to be converted.
This returns the wide character representation of the argument. The function returns WEOF if c has the value EOF or if the current locale specifies that UTF-8 encoding is to be used and unsigned char c does not constitute a valid single-byte UTF-8 encoded character.