Next: c8rtomb
, Previous: bsearch
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
btowc
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/btowc.html
Gnulib module: btowc
Portability problems fixed by Gnulib:
mbrtowc
and can return WEOF
:
glibc 2.35, MirOS BSD #10.
mbrtowc
on some platforms:
mingw.
Portability problems not fixed by Gnulib:
wchar_t
is a 16-bit type and
therefore cannot accommodate all Unicode characters.
However, the Gnulib function btoc32
, provided by Gnulib module
btoc32
, operates on 32-bit wide characters and therefore does not have
this limitation.