![]() |
![]() |
![]() |
Convert a single-byte character to a wide character
#include <wchar.h> wint_t btowc( int c );
libc
The btowc() function determines whether c is a valid one-byte character in the initial shift state.
This function is the single byte version of mbtowc().
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
"Character manipulation functions" and "Wide-character functions" in the summary of functions chapter.
![]() |
![]() |
![]() |