Namespaces
Variants

Standard library header <uchar.h> (C11)

From cppreference.net

このヘッダは null終端マルチバイト文字列 ライブラリの一部です。

関数

(C23)
ナローマルチバイト文字をUTF-8エンコーディングに変換する
(関数)
(C23)
UTF-8文字列をナローマルチバイトエンコーディングに変換する
(関数)
ナローマルチバイト文字をUTF-16エンコーディングに変換する
(関数)
UTF-16文字をナローマルチバイトエンコーディングに変換する
(関数)
ナローマルチバイト文字をUTF-32エンコーディングに変換する
(関数)
UTF-32文字をナローマルチバイトエンコーディングに変換する
(関数)

マルチバイト文字列を反復処理するために必要な変換状態情報
(クラス)
(C23)
8ビット文字型
(typedef)
16ビット文字型
(typedef)
32ビット文字型
(typedef)

概要

#define __STDC_VERSION_UCHAR_H__ 202311L
typedef /* 詳細は説明を参照 */ mbstate_t;
typedef /* 詳細は説明を参照 */ size_t;
typedef /* 詳細は説明を参照 */ char8_t;
typedef /* 詳細は説明を参照 */ char16_t;
typedef /* 詳細は説明を参照 */ 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);