Alexey Samsonov b545e54f7a
[libc] Remove btowc / wctob from wctype_utils internal header. (#170200)
They are not used anywhere except for the btowc/wctob entrypoints, so
just move the implementation there. Internal code should probably be
using a safer mbrtowc variants anyway, if applicable.

This allows us to remove the use of wint_t, which is problematic for
some uses through `libc/shared/` when a host system doesn't have
wide-character support (see PR #165884 comments). There's no such
problems with `wchar_t`, since it's a fundamental type in C++.
2025-12-01 13:33:51 -08:00
..
2025-07-25 12:45:24 -07:00
2025-07-25 12:45:24 -07:00