Name

btowc function — Converts a multibyte character to a wide character

Synopsis

wint_t btowc(int c)

The btowc function returns a wide character representation of c, which is a multibyte character that can be represented in a single byte (as an unsigned char). If c is not a valid one-byte, multibyte character, or if c is EOF, WEOF is returned.