[libc-commits] [libc] [libc] Implemented wcrtomb internal function and public libc function (PR #144596)
via libc-commits
libc-commits at lists.llvm.org
Wed Jun 18 09:20:36 PDT 2025
================
@@ -51,7 +52,7 @@ int CharacterConverter::push(char32_t utf32) {
// `utf32` contains a value that is too large to actually represent a valid
// unicode character
clear();
- return -1;
+ return EILSEQ;
----------------
sribee8 wrote:
returning -1 may be more consistent with the rest of the CharacterConverter class
https://github.com/llvm/llvm-project/pull/144596
More information about the libc-commits
mailing list