NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



>Number:         58601
>Category:       standards
>Synopsis:       uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    standards-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 15 15:20:00 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The mbNetBSD23 Foundation
>Environment:
>Description:
C23 adds several things to <uchar.h>:

#define __STDC_VERSION_UCHAR_H__ 202311L
typedef unsigned char char8_t;
size_t mbrtoc8(char8_t *restrict, const char *restrict, size_t, mbstate_t *restrict);
size_t c8rtomb(char *restrict, char8_t, mbstate_t *restrict);


>How-To-Repeat:
standards inspection
>Fix:
Yes, please!



Home | Main Index | Thread Index | Old Index