btowc
btowc
Defined in header <wchar.h> | ||
---|---|---|
wint_t btowc( int c ); | (since C95) |
Widens a single-byte character c
(reinterpreted as unsigned char
) 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 wchar_t
.
Parameters
c | - | single-byte character to widen |
Return value
WEOF
if c
is 登录查看完整内容