Moving C11 Functions from winsup to newlib
Joel Sherrill
joel.sherrill@gmail.com
Fri Mar 14 16:53:54 GMT 2025
Hi
In looking at what's missing from RTEMS for C11, I noticed that these from
uchar.h are in winsup (as .cc) but not in newlib.
size_t c16rtomb(char *restrict, char16_t, mbstate_t *restrict);
size_t c32rtomb(char *restrict, char32_t, mbstate_t *restrict);
size_t mbrtoc16(char16_t *restrict, const char *restrict, size_t, mbstate_t
*restrict);
size_t mbrtoc32(char32_t *restrict, const char *restrict, size_t, mbstate_t
*restrict);
Would it be ok to move them to the newlib side? Add a uchar directory? Or
where?
What about converting the implementation to C? Is that needed?
Thanks.
--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/newlib/attachments/20250314/be45b76d/attachment.htm>
More information about the Newlib
mailing list