標準ライブラリヘッダー <uchar.h> (C11)
From cppreference.com
このヘッダーは、ヌル終端マルチバイト文字列ライブラリの一部です。
[編集] Functions
| (C23) |
ナローマルチバイト文字をUTF-8エンコーディングに変換する (関数) |
| (C23) |
UTF-8文字列をナローマルチバイトエンコーディングに変換する (関数) |
| (C11) |
ナローマルチバイト文字をUTF-16エンコーディングに変換する (関数) |
| (C11) |
UTF-16文字をナローマルチバイトエンコーディングに変換する (関数) |
| (C11) |
ナローマルチバイト文字をUTF-32エンコーディングに変換する (関数) |
| (C11) |
UTF-32文字をナローマルチバイトエンコーディングに変換する (関数) |
[編集] Types
| (C95) |
マルチバイト文字列を走査するために必要な変換状態情報 (クラス) |
| (C23) |
8ビット文字型 (typedef) |
| (C11) |
16ビット文字型 (typedef) |
| (C11) |
32ビット文字型 (typedef) |
[編集] Synopsis
#define __STDC_VERSION_UCHAR_H__ 202311L typedef /* see description */ mbstate_t; typedef /* see description */ size_t; typedef /* see description */ char8_t; typedef /* see description */ char16_t; typedef /* see 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);