diff options
author | Tom Honermann <tom@honermann.net> | 2022-06-30 08:52:14 -0400 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-07-06 09:29:42 -0300 |
commit | 8bcca1db3d7c0dc900a4cad4054c1439baf73684 (patch) | |
tree | c3d2bb8a6e32462178ba347f755b43c5ae51caff /sysdeps/unix/sysv/linux/arc | |
parent | 598f790fb17bcfff7fedde5209933a82d7748328 (diff) | |
download | glibc-8bcca1db3d7c0dc900a4cad4054c1439baf73684.tar.gz glibc-8bcca1db3d7c0dc900a4cad4054c1439baf73684.tar.xz glibc-8bcca1db3d7c0dc900a4cad4054c1439baf73684.zip |
stdlib: Implement mbrtoc8, c8rtomb, and the char8_t typedef.
This change provides implementations for the mbrtoc8 and c8rtomb functions adopted for C++20 via WG21 P0482R6 and for C2X via WG14 N2653. It also provides the char8_t typedef from WG14 N2653. The mbrtoc8 and c8rtomb functions are declared in uchar.h in C2X mode or when the _GNU_SOURCE macro or C++20 __cpp_char8_t feature test macro is defined. The char8_t typedef is declared in uchar.h in C2X mode or when the _GNU_SOURCE macro is defined and the C++20 __cpp_char8_t feature test macro is not defined (if __cpp_char8_t is defined, then char8_t is a builtin type). Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/arc')
-rw-r--r-- | sysdeps/unix/sysv/linux/arc/libc.abilist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/arc/libc.abilist b/sysdeps/unix/sysv/linux/arc/libc.abilist index 072627810c..ade44d3029 100644 --- a/sysdeps/unix/sysv/linux/arc/libc.abilist +++ b/sysdeps/unix/sysv/linux/arc/libc.abilist @@ -2377,10 +2377,12 @@ GLIBC_2.35 __memcmpeq F GLIBC_2.35 _dl_find_object F GLIBC_2.35 epoll_pwait2 F GLIBC_2.35 posix_spawn_file_actions_addtcsetpgrp_np F +GLIBC_2.36 c8rtomb F GLIBC_2.36 fsconfig F GLIBC_2.36 fsmount F GLIBC_2.36 fsopen F GLIBC_2.36 fspick F +GLIBC_2.36 mbrtoc8 F GLIBC_2.36 mount_setattr F GLIBC_2.36 move_mount F GLIBC_2.36 open_tree F |