From 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 14 Aug 2025 22:58:58 -0500 Subject: removing all downloaded devdocs files --- devdocs/c/string%2Fmultibyte%2Fchar32_t.html | 35 ---------------------------- 1 file changed, 35 deletions(-) delete mode 100644 devdocs/c/string%2Fmultibyte%2Fchar32_t.html (limited to 'devdocs/c/string%2Fmultibyte%2Fchar32_t.html') diff --git a/devdocs/c/string%2Fmultibyte%2Fchar32_t.html b/devdocs/c/string%2Fmultibyte%2Fchar32_t.html deleted file mode 100644 index a6895bb4..00000000 --- a/devdocs/c/string%2Fmultibyte%2Fchar32_t.html +++ /dev/null @@ -1,35 +0,0 @@ -

char32_t

Defined in header <uchar.h>
typedef uint_least32_t char32_t;
-
(since C11)

char32_t is an unsigned integer type used for 32-bit wide characters and is the same type as uint_least32_t.

-

Notes

On any given platform, by the definition of uint_least32_t, the width of type char32_t can be greater than 32 bits, but the actual values stored in an object of type char32_t will always have a width of 32 bits.

-

Example

#include <stdio.h>
-#include <uchar.h>
- 
-int main(void)
-{
-    const char32_t wc[] = U"zß水🍌"; // or "z\u00df\u6c34\U0001f34c"
-    const size_t wc_sz = sizeof wc / sizeof *wc;
-    printf("%zu UTF-32 code units: [ ", wc_sz);
-    for (size_t n = 0; n < wc_sz; ++n)
-        printf("%#x ", wc[n]);
-    printf("]\n");
-}

Possible output:

-
5 UTF-32 code units: [ 0x7a 0xdf 0x6c34 0x1f34c 0 ]

References

See also

-
C++ documentation for Fundamental types
-

- © cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
- https://en.cppreference.com/w/c/string/multibyte/char32_t -

-
-- cgit v1.2.3