VMS Help
CRTL, btowc
*Conan The Librarian
|
Converts a one-byte multibyte character to a wide character in
the initial shift state.
Format
#include <wchar.h>
wint_t btowc (int c);
c
The character to be converted to a wide-character representation.
The btowc function determines whether (unsigned char)c is a valid
one-byte multibyte character in the initial shift state, and if
so, returns a wide-character representation of that character.
x The wide-character representation of unsigned
char c.
WEOF Indicates an error. The c argument has the
value EOF or does not constitute a valid one-
byte multibyte character in the initial shift
state.