diff options
Diffstat (limited to 'devdocs/c/string%2Fwide%2Fwctrans.html')
| -rw-r--r-- | devdocs/c/string%2Fwide%2Fwctrans.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/devdocs/c/string%2Fwide%2Fwctrans.html b/devdocs/c/string%2Fwide%2Fwctrans.html new file mode 100644 index 00000000..16a392f1 --- /dev/null +++ b/devdocs/c/string%2Fwide%2Fwctrans.html @@ -0,0 +1,27 @@ + <h1 id="firstHeading" class="firstHeading">wctrans</h1> <table class="t-dcl-begin"> <tr class="t-dsc-header"> <th> Defined in header <code><wctype.h></code> </th> <th> </th> <th> </th> </tr> <tr class="t-dcl"> <td> <pre data-language="c">wctrans_t wctrans( const char* str );</pre> +</td> <td class="t-dcl-nopad"> </td> <td> <span class="t-mark-rev t-since-c95">(since C95)</span> </td> </tr> </table> <p>Constructs a value of type <code>wctrans_t</code> that describes a <code><a href="../../locale/lc_categories" title="c/locale/LC categories">LC_CTYPE</a></code> category of wide character mapping. It may be one of the standard mappings, or a locale-specific mapping, such as <code>"tojhira"</code> or <code>"tojkata"</code>.</p> +<h3 id="Parameters"> Parameters</h3> <table class="t-par-begin"> <tr class="t-par"> <td> str </td> <td> - </td> <td> C string holding the name of the desired mapping. <p>The following values of <code>str</code> are supported in all C locales:</p> +<table class="t-dsc-begin"> <tr class="t-dsc-hitem"> <th> Value of <code>str</code> </th> <th> Effect </th> +</tr> <tr class="t-dsc"> <td> <code>"toupper"</code> </td> <td> identifies the mapping used by <code><a href="towupper" title="c/string/wide/towupper">towupper</a></code> </td> +</tr> <tr class="t-dsc"> <td> <code>"tolower"</code> </td> <td> identifies the mapping used by <code><a href="towlower" title="c/string/wide/towlower">towlower</a></code> </td> +</tr> </table> </td> +</tr> +</table> <h3 id="Return_value"> Return value</h3> <p><code>wctrans_t</code> object suitable for use with <code><a href="towctrans" title="c/string/wide/towctrans">towctrans</a></code> to map wide characters according to the named mapping of the current C locale or zero if <code>str</code> does not name a mapping supported by the current C locale.</p> +<h3 id="References"> References</h3> <ul> +<li> C23 standard (ISO/IEC 9899:2023): </li> +<ul><li> 7.30.3.2.2 The wctrans function (p: TBD) </li></ul> +<li> C17 standard (ISO/IEC 9899:2018): </li> +<ul><li> 7.30.3.2.2 The wctrans function (p: TBD) </li></ul> +<li> C11 standard (ISO/IEC 9899:2011): </li> +<ul><li> 7.30.3.2.2 The wctrans function (p: 454) </li></ul> +<li> C99 standard (ISO/IEC 9899:1999): </li> +<ul><li> 7.25.3.2,2 The wctrans function (p: 400) </li></ul> +</ul> <h3 id="See_also"> See also</h3> <table class="t-dsc-begin"> <tr class="t-dsc"> <td> <div><a href="towctrans" title="c/string/wide/towctrans"> <span class="t-lines"><span>towctrans</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> performs character mapping according to the specified LC_CTYPE mapping category <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/wctrans" title="cpp/string/wide/wctrans">C++ documentation</a></span> for <code>wctrans</code> </td> +</tr> </table> <div class="_attribution"> + <p class="_attribution-p"> + © 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/wctrans" class="_attribution-link">https://en.cppreference.com/w/c/string/wide/wctrans</a> + </p> +</div> |
