summaryrefslogtreecommitdiff
path: root/devdocs/c/string%2Fwide%2Ftowupper.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%2Fwide%2Ftowupper.html
parent9278ddd4ea1a8b1a4c1edaa8894516e3f48d245b (diff)
downloaddotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.tar.gz
dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.zip
removing all downloaded devdocs files
Diffstat (limited to 'devdocs/c/string%2Fwide%2Ftowupper.html')
-rw-r--r--devdocs/c/string%2Fwide%2Ftowupper.html35
1 files changed, 0 insertions, 35 deletions
diff --git a/devdocs/c/string%2Fwide%2Ftowupper.html b/devdocs/c/string%2Fwide%2Ftowupper.html
deleted file mode 100644
index 4e0cdeb3..00000000
--- a/devdocs/c/string%2Fwide%2Ftowupper.html
+++ /dev/null
@@ -1,35 +0,0 @@
- <h1 id="firstHeading" class="firstHeading">towupper</h1> <table class="t-dcl-begin"> <tr class="t-dsc-header"> <th> Defined in header <code>&lt;wctype.h&gt;</code> </th> <th> </th> <th> </th> </tr> <tr class="t-dcl"> <td> <pre data-language="c">wint_t towupper( wint_t wc );</pre>
-</td> <td class="t-dcl-nopad"> </td> <td> <span class="t-mark-rev t-since-c95">(since C95)</span> </td> </tr> </table> <p>Converts the given wide character to uppercase, if possible.</p>
-<h3 id="Parameters"> Parameters</h3> <table class="t-par-begin"> <tr class="t-par"> <td> wc </td> <td> - </td> <td> wide character to be converted </td>
-</tr>
-</table> <h3 id="Return_value"> Return value</h3> <p>Uppercase version of <code>wc</code> or unmodified <code>wc</code> if no uppercase version is listed in the current C locale.</p>
-<h3 id="Notes"> Notes</h3> <p>Only 1:1 character mapping can be performed by this function, e.g. the uppercase form of 'ß' is (with some exceptions) the two-character string "SS", which cannot be obtained by <code>towupper</code>.</p>
-<p><a rel="nofollow" class="external text" href="http://www.open-std.org/JTC1/SC35/WG5/docs/30112d10.pdf">ISO 30112</a> specifies which pairs of Unicode characters are included in this mapping.</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;wchar.h&gt;
-#include &lt;wctype.h&gt;
-#include &lt;locale.h&gt;
-
-int main(void)
-{
- wchar_t wc = L'\u017f'; // Latin small letter Long S ('ſ')
- printf("in the default locale, towupper(%#x) = %#x\n", wc, towupper(wc));
- setlocale(LC_ALL, "en_US.utf8");
- printf("in Unicode locale, towupper(%#x) = %#x\n", wc, towupper(wc));
-}</pre></div> <p>Output:</p>
-<div class="text source-text"><pre data-language="c">in the default locale, towupper(0x17f) = 0x17f
-in Unicode locale, towupper(0x17f) = 0x53</pre></div> </div> <h3 id="References"> References</h3> <ul>
-<li> C11 standard (ISO/IEC 9899:2011): </li>
-<ul><li> 7.30.3.1.2 The towupper function (p: 453) </li></ul>
-<li> C99 standard (ISO/IEC 9899:1999): </li>
-<ul><li> 7.25.3.1.2 The towupper function (p: 399) </li></ul>
-</ul> <h3 id="See_also"> See also</h3> <table class="t-dsc-begin"> <tr class="t-dsc"> <td> <div><a href="towlower" title="c/string/wide/towlower"> <span class="t-lines"><span>towlower</span></span></a></div>
-<div><span class="t-lines"><span><span class="t-mark-rev t-since-c95">(C95)</span></span></span></div> </td> <td> converts a wide character to lowercase <br> <span class="t-mark">(function)</span> </td>
-</tr> <tr class="t-dsc"> <td> <div><a href="../byte/toupper" title="c/string/byte/toupper"> <span class="t-lines"><span>toupper</span></span></a></div> </td> <td> converts a character to uppercase <br> <span class="t-mark">(function)</span> </td>
-</tr> <tr class="t-dsc"> <td colspan="2"> <span><a href="https://en.cppreference.com/w/cpp/string/wide/towupper" title="cpp/string/wide/towupper">C++ documentation</a></span> for <code>towupper</code> </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/wide/towupper" class="_attribution-link">https://en.cppreference.com/w/c/string/wide/towupper</a>
- </p>
-</div>