History log of /netbsd-src/include/uchar.h (Results 1 – 6 of 6)
Revision Date Author Comments
# 0e2070ac 13-Oct-2024 riastradh <riastradh@NetBSD.org>

uchar.h: Simplify __cpp_char8_t and __cplusplus conditionals.

No functional change intended.

PR lib/52374: <uchar.h> missing


# ecf4058c 13-Oct-2024 riastradh <riastradh@NetBSD.org>

uchar.h: Need <sys/cdefs.h> for __restrict.

PR lib/52374: <uchar.h> missing


# 2b82e545 13-Oct-2024 riastradh <riastradh@NetBSD.org>

uchar.h: Include <sys/featuretest.h> before testing _*_SOURCE.

PR lib/58752: various header files test _*_SOURCE macros but don't
include sys/featuretest.h

PR lib/52374: <uchar.h> missing


# 4651a634 17-Aug-2024 riastradh <riastradh@NetBSD.org>

libc: Add _l variants of the cNrtomb and mbrtocN functions.

These accept an explicit locale parameter, rather than using the
current locale.

Visible under _NETBSD_SOURCE, not exposed otherwise.

NO

libc: Add _l variants of the cNrtomb and mbrtocN functions.

These accept an explicit locale parameter, rather than using the
current locale.

Visible under _NETBSD_SOURCE, not exposed otherwise.

NOTE: This adds libc symbols. Riding the libc minor bump for the
non-_l variants of these from two days ago -- hope that's not pushing
it too far.

PR lib/58613: c*rtomb, mbrtoc* should have locale-parametric _l
variants

show more ...


# c4e44ee2 15-Aug-2024 riastradh <riastradh@NetBSD.org>

libc: New functions c8rtomb(3) and mbrtoc8(3).

New in C23, for converting from UTF-8 to locale-dependent multibyte
sequences (c8rtomb) or vice versa (mbrtoc8), along with the new type
char8_t.

Cond

libc: New functions c8rtomb(3) and mbrtoc8(3).

New in C23, for converting from UTF-8 to locale-dependent multibyte
sequences (c8rtomb) or vice versa (mbrtoc8), along with the new type
char8_t.

Conditional on either:
- _NETBSD_SOURCE
- _ISOC23_SOURCE
- __STDC_VERSION__ >= 202311L

(Riding the libc minor bump from this morning for the UTF-16/UTF-32
versions from C11.)

PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb

show more ...


# cc1e5796 15-Aug-2024 riastradh <riastradh@NetBSD.org>

uchar.h: New header file for C11 (and C++11) compliance.

Implementation of the new functions mbrtoc16, c16rtomb, mbrtoc32, and
c32rtomb to come later. Updates for C23 to come later.

PR lib/52374:

uchar.h: New header file for C11 (and C++11) compliance.

Implementation of the new functions mbrtoc16, c16rtomb, mbrtoc32, and
c32rtomb to come later. Updates for C23 to come later.

PR lib/52374: <uchar.h> missing

show more ...