summaryrefslogtreecommitdiff
path: root/devdocs/c/string%2Fmultibyte%2Fchar32_t.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-08-14 22:58:58 -0500
committerCraig Jennings <c@cjennings.net>2025-08-14 22:58:58 -0500
commit82ba818ff456bcd6d56a06226e3f27e98fbb55c3 (patch)
tree158cfc17b2f644a10f063cb546752cfaae12c97f /devdocs/c/string%2Fmultibyte%2Fchar32_t.html
parent9278ddd4ea1a8b1a4c1edaa8894516e3f48d245b (diff)
downloaddotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.tar.gz
dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.zip
removing all downloaded devdocs files
Diffstat (limited to 'devdocs/c/string%2Fmultibyte%2Fchar32_t.html')
-rw-r--r--devdocs/c/string%2Fmultibyte%2Fchar32_t.html35
1 files changed, 0 insertions, 35 deletions
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 @@
- <h1 id="firstHeading" class="firstHeading">char32_t</h1> <table class="t-dcl-begin"> <tr class="t-dsc-header"> <th> Defined in header <code>&lt;uchar.h&gt;</code> </th> <th> </th> <th> </th> </tr> <tr class="t-dcl t-since-c11"> <td> <pre data-language="c">typedef uint_least32_t char32_t;</pre>
-</td> <td class="t-dcl-nopad"> </td> <td> <span class="t-mark-rev t-since-c11">(since C11)</span> </td> </tr> </table> <p><code>char32_t</code> is an unsigned integer type used for 32-bit wide characters and is the same type as <code><a href="http://en.cppreference.com/w/c/types/integer"><span class="kw130">uint_least32_t</span></a></code>.</p>
-<h3 id="Notes"> Notes</h3> <p>On any given platform, by the definition of <code><a href="http://en.cppreference.com/w/c/types/integer"><span class="kw130">uint_least32_t</span></a></code>, the width of type <code>char32_t</code> can be greater than 32 bits, but the actual values stored in an object of type <code>char32_t</code> will always have a width of 32 bits.</p>
-<h3 id="Example"> Example</h3> <div class="t-example"> <div class="c source-c"><pre data-language="c">#include &lt;stdio.h&gt;
-#include &lt;uchar.h&gt;
-
-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 &lt; wc_sz; ++n)
- printf("%#x ", wc[n]);
- printf("]\n");
-}</pre></div> <p>Possible output:</p>
-<div class="text source-text"><pre data-language="c">5 UTF-32 code units: [ 0x7a 0xdf 0x6c34 0x1f34c 0 ]</pre></div> </div> <h3 id="References"> References</h3> <ul>
-<li> C17 standard (ISO/IEC 9899:2018): </li>
-<ul>
-<li> 7.28 Unicode utilities &lt;uchar.h&gt; (p: 292) </li>
-<li> 7.20.1.2 Minimum-width integer types (p: 212-213) </li>
-</ul>
-<li> C11 standard (ISO/IEC 9899:2011): </li>
-<ul>
-<li> 7.28 Unicode utilities &lt;uchar.h&gt; (p: 398) </li>
-<li> 7.20.1.2 Minimum-width integer types (p: 290) </li>
-</ul>
-<li> C99 standard (ISO/IEC 9899:1999): </li>
-<ul><li> 7.18.1.2 Minimum-width integer types (p: 256) </li></ul>
-</ul> <h3 id="See_also"> See also</h3> <table class="t-dsc-begin"> <tr class="t-dsc"> <td colspan="2"> <span><a href="https://en.cppreference.com/w/cpp/language/types" title="cpp/language/types">C++ documentation</a></span> for <span class=""><span>Fundamental types</span></span> </td>
-</tr> </table> <div class="_attribution">
- <p class="_attribution-p">
- &copy; cppreference.com<br>Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.<br>
- <a href="https://en.cppreference.com/w/c/string/multibyte/char32_t" class="_attribution-link">https://en.cppreference.com/w/c/string/multibyte/char32_t</a>
- </p>
-</div>