Standard library header <uchar.h> (C11)
From cppreference.net
Cet en-tête fait partie de la bibliothèque des chaînes multioctets terminées par un caractère nul .
Fonctions
|
(C23)
|
convertit un caractère multioctet étroit en encodage UTF-8
(fonction) |
|
(C23)
|
convertit une chaîne UTF-8 en encodage multioctet étroit
(fonction) |
|
(C11)
|
convertit un caractère multioctet étroit en encodage UTF-16
(fonction) |
|
(C11)
|
convertit un caractère UTF-16 en encodage multioctet étroit
(fonction) |
|
(C11)
|
convertit un caractère multioctet étroit en encodage UTF-32
(fonction) |
|
(C11)
|
convertit un caractère UTF-32 en encodage multioctet étroit
(fonction) |
Types
|
(C95)
|
informations d'état de conversion nécessaires pour itérer sur les chaînes de caractères multioctets
(classe) |
|
(C23)
|
type de caractère 8 bits
(typedef) |
|
(C11)
|
type de caractère 16 bits
(typedef) |
|
(C11)
|
type de caractère 32 bits
(typedef) |
Synopsis
#define __STDC_VERSION_UCHAR_H__ 202311L typedef /* voir description */ mbstate_t; typedef /* voir description */ size_t; typedef /* voir description */ char8_t; typedef /* voir description */ char16_t; typedef /* voir description */ char32_t; size_t mbrtoc8(char8_t* restrict pc8, const char* restrict s, size_t n, mbstate_t* restrict ps); size_t c8rtomb(char* restrict s, char8_t c8, mbstate_t* restrict ps); size_t mbrtoc16(char16_t* restrict pc16, const char* restrict s, size_t n, mbstate_t* restrict ps); size_t c16rtomb(char* restrict s, char16_t c16, mbstate_t* restrict ps); size_t mbrtoc32(char32_t* restrict pc32, const char* restrict s, size_t n, mbstate_t* restrict ps); size_t c32rtomb(char* restrict s, char32_t c32, mbstate_t* restrict ps);