Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      Standard library header <uchar.h> (C11)

      From cppreference.com
      <c‎ |header
       
       
       

      This header is part ofnull-terminated multibyte strings library.

      [edit]Functions

      (C23)
      converts a narrow multibyte character to UTF-8 encoding
      (function)[edit]
      (C23)
      converts UTF-8 string to narrow multibyte encoding
      (function)[edit]
      converts a narrow multibyte character to UTF-16 encoding
      (function)[edit]
      converts a UTF-16 character to narrow multibyte encoding
      (function)[edit]
      converts a narrow multibyte character to UTF-32 encoding
      (function)[edit]
      converts a UTF-32 character to narrow multibyte encoding
      (function)[edit]

      [edit]Types

      conversion state information necessary to iterate multibyte character strings
      (class)[edit]
      (C23)
      8-bit character type
      (typedef)[edit]
      16-bit character type
      (typedef)[edit]
      32-bit character type
      (typedef)[edit]

      [edit]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,constchar*restrict s,size_t n,mbstate_t*restrict ps);size_t c8rtomb(char*restrict s, char8_t c8,mbstate_t*restrict ps);size_tmbrtoc16(char16_t*restrict pc16,constchar*restrict s,size_t n,mbstate_t*restrict ps);size_tc16rtomb(char*restrict s, char16_t c16,mbstate_t*restrict ps);size_tmbrtoc32(char32_t*restrict pc32,constchar*restrict s,size_t n,mbstate_t*restrict ps);size_tc32rtomb(char*restrict s, char32_t c32,mbstate_t*restrict ps);
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=c/header/uchar&oldid=180745"

      [8]ページ先頭

      ©2009-2025 Movatter.jp