]> sourceware.org Git - newlib-cygwin.git/commit
struct _reent: add state for unicode functions
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 15 Aug 2023 20:30:59 +0000 (22:30 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 15 Aug 2023 20:30:59 +0000 (22:30 +0200)
commitb5111e46424b693e04bc0e964a01f871a71c26ef
treeb9d462e1f582fd23616bdac7174ac2dfa979c0a6
parent1a646ad7970a2cd3a1c931af4217cc17fc576116
struct _reent: add state for unicode functions

C23 requires that the unicode functions c16rtomb, c8rtomb, mbrtoc16,
mbrtoc32 and mbrtoc8 use their own internal state object.  c32rtomb
only needs an internal state if the lib supports encoding with
shift states, but that's the case for newlib and Cygwin.

Only Cygwin implements these functions so add the states
objects only for Cygwin for now.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
newlib/libc/include/sys/reent.h
This page took 0.028096 seconds and 5 git commands to generate.