implement mbtowc directly, not as a wrapper for mbrtowc
[musl] / crt / crtn.c