⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wctype.h.html

📁 unix 下的C开发手册,还用详细的例程。
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>&lt;wctype.h&gt;</title></head><body bgcolor=white><center><font size=2>The Single UNIX &reg; Specification, Version 2<br>Copyright &copy; 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_000_010_716">&nbsp;</a>NAME</h4><blockquote>wctype.h - wide-character classification and mapping utilities</blockquote><h4><a name = "tag_000_010_717">&nbsp;</a>SYNOPSIS</h4><blockquote><pre><code>#include &lt;wctype.h&gt;</code></pre></blockquote><h4><a name = "tag_000_010_718">&nbsp;</a>DESCRIPTION</h4><blockquote>The<i>&lt;wctype.h&gt;</i>header defines the following data types through<dl compact><dt><b>wint_t</b><dd>As described in<i><a href="wchar.h.html">&lt;wchar.h&gt;</a></i>.<dt><b>wctrans_t</b><dd><index term="data type, wctrans_t"></index>A scalar type that can hold values which represent locale-specificcharacter mappings.<dt><b>wctype_t</b><dd>As described in<i><a href="wchar.h.html">&lt;wchar.h&gt;</a></i>.</dl><p>The<i>&lt;wctype.h&gt;</i>headerdeclares the following as functions and may also define them as macros.Function prototypes must be provided for use with an ISO Ccompiler.<pre><code>int       <a href="iswalnum.html">iswalnum</a>(wint_t);int       <a href="iswalpha.html">iswalpha</a>(wint_t);int       <a href="iswcntrl.html">iswcntrl</a>(wint_t);int       <a href="iswdigit.html">iswdigit</a>(wint_t);int       <a href="iswgraph.html">iswgraph</a>(wint_t);int       <a href="iswlower.html">iswlower</a>(wint_t);int       <a href="iswprint.html">iswprint</a>(wint_t);int       <a href="iswpunct.html">iswpunct</a>(wint_t);int       <a href="iswspace.html">iswspace</a>(wint_t);int       <a href="iswupper.html">iswupper</a>(wint_t);int       <a href="iswxdigit.html">iswxdigit</a>(wint_t);int       <a href="iswctype.html">iswctype</a>(wint_t, wctype_t);wint_t    <a href="towctrans.html">towctrans</a>(wint_t, wctrans_t);wint_t    <a href="towlower.html">towlower</a>(wint_t);wint_t    <a href="towupper.html">towupper</a>(wint_t);wctrans_t <a href="wctrans.html">wctrans</a>(const char *);wctype_t  <a href="wctype.html">wctype</a>(const char *);</code></pre><p><i>&lt;wctype.h&gt;</i>defines the following macro name:<dl compact><dt>WEOF<dd>Constant expression of type<b>wint_t</b>that is returned by several MSE functions to indicate end-of-file.</dl><p>For all functions described in this header that accept an argument oftype <b>wint_t</b>, the value will be representable as a <b>wchar_t</b>or will equal the value of <b>WEOF</b>.  If this argument has any othervalue, the behaviour is undefined.<p>The behaviour of these functions is affected by the LC_CTYPEcategory of the current locale.<p>Inclusion of the<i>&lt;wctype.h&gt;</i>header may make visible all symbols from the headers<i><a href="ctype.h.html">&lt;ctype.h&gt;</a></i>,<i><a href="stdio.h.html">&lt;stdio.h&gt;</a></i>,<i><a href="stdarg.h.html">&lt;stdarg.h&gt;</a></i>,<i><a href="stdlib.h.html">&lt;stdlib.h&gt;</a></i>,<i><a href="string.h.html">&lt;string.h&gt;</a></i>,<i><a href="stddef.h.html">&lt;stddef.h&gt;</a></i><i><a href="time.h.html">&lt;time.h&gt;</a></i>.and<i><a href="wchar.h.html">&lt;wchar.h&gt;</a></i>.</blockquote><h4><a name = "tag_000_010_719">&nbsp;</a>APPLICATION USAGE</h4><blockquote>None.</blockquote><h4><a name = "tag_000_010_720">&nbsp;</a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_010_721">&nbsp;</a>SEE ALSO</h4><blockquote><i><a href="iswalnum.html">iswalnum()</a></i>,<i><a href="iswalpha.html">iswalpha()</a></i>,<i><a href="iswcntrl.html">iswcntrl()</a></i>,<i><a href="iswctype.html">iswctype()</a></i>,<i><a href="iswdigit.html">iswdigit()</a></i>,<i><a href="iswgraph.html">iswgraph()</a></i>,<i><a href="iswlower.html">iswlower()</a></i>,<i><a href="iswprint.html">iswprint()</a></i>,<i><a href="iswpunct.html">iswpunct()</a></i>,<i><a href="iswspace.html">iswspace()</a></i>,<i><a href="iswupper.html">iswupper()</a></i>,<i><a href="iswxdigit.html">iswxdigit()</a></i>,<i><a href="setlocale.html">setlocale()</a></i>,<i><a href="towctrans.html">towctrans()</a></i>,<i><a href="towlower.html">towlower()</a></i>,<i><a href="towupper.html">towupper()</a></i>,<i><a href="wctrans.html">wctrans()</a></i>,<i><a href="wctype.html">wctype()</a></i>,<i><a href="locale.h.html">&lt;locale.h&gt;</a></i>.<i><a href="wchar.h.html">&lt;wchar.h&gt;</a></i>.</blockquote><hr size=2 noshade><center><font size=2>UNIX &reg; is a registered Trademark of The Open Group.<br>Copyright &copy; 1997 The Open Group<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]</font></center><hr size=2 noshade></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -