<!DOCTYPE html PUBLIC "‐//W3C//DTD XHTML 1.1//EN"
        "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">     <html
xmlns="http://www.w3.org/1999/xhtml"> <head>
    <link            rel="stylesheet"             type="text/css"
href="../../../style.css" title="style" />
    <link  rel="stylesheet"  type="text/css"  href="../style.css"
title="style" />
    <meta             http‐equiv="content‐type"              con‐
tent="text/html;charset=utf‐8" />

    <title>wctype.h.0p ‐ Linux manual page</title> </head>

<body>

<div        class="page‐top"><a       id="top_of_page"></a></div>
<!‐‐%%%TOP_BAR%%%‐‐> <!‐‐%%%PAGE_START%%%‐‐>

<table class="sec‐table"> <tr>
    <td>
        <p class="section‐dir"> <a href="#PROLOG">PROLOG</a> | <a
href="#NAME">NAME</a>  |  <a  href="#SYNOPSIS">SYNOPSIS</a>  | <a
href="#DESCRIPTION">DESCRIPTION</a> |  <a  href="#APPLICATION_US‐
AGE">APPLICATION&nbsp;USAGE</a>   |  <a  href="#RATIONALE">RATIO‐
NALE</a>   |   <a    href="#FUTURE_DIRECTIONS">FUTURE&nbsp;DIREC‐
TIONS</a>    |   <a   href="#SEE_ALSO">SEE&nbsp;ALSO</a>   |   <a
href="#COPYRIGHT">COPYRIGHT</a>
        </p>
    </td>
    <td class="search‐box">
        <div class="man‐search‐box">

            <form                method="get"                 ac‐
tion="http://www.google.com/search">
                <fieldset class="man‐search">
                    <input    type="text"    name="q"   size="10"
maxlength="255" value="" />
                    <input type="hidden"  name="sitesearch"  val‐
ue="man7.org/linux/man‐pages" />
                    <input  type="submit" name="sa" value="Search
online pages" />
                </fieldset>
            </form>

        </div>
    </td>
    <td> </td> </tr> </table>

<pre> <span class="headline">wctype.h(0P)              POSIX Pro‐
grammer’s  Manual              wctype.h(0P)</span>  </pre> <h2><a
id="PROLOG" href="#PROLOG"></a>PROLOG  &nbsp; &nbsp; &nbsp;  &nb‐
sp;        <a        href="#top_of_page"><span        class="top‐
link">top</span></a></h2><pre>
       This manual page is part of the POSIX Programmer’s Manual.
The Linux
       implementation of this interface may differ (consult the
       corresponding  Linux  manual page for details of Linux be‐
havior), or
       the interface may not be  implemented  on  Linux.   </pre>
<h2><a id="NAME" href="#NAME"></a>NAME  &nbsp; &nbsp; &nbsp; &nb‐
sp;        <a        href="#top_of_page"><span        class="top‐
link">top</span></a></h2><pre>
       wctype.h — wide‐character classification and mapping util‐
ities </pre> <h2><a  id="SYNOPSIS"  href="#SYNOPSIS"></a>SYNOPSIS
&nbsp;   &nbsp;   &nbsp;   &nbsp;   <a  href="#top_of_page"><span
class="top‐link">top</span></a></h2><pre>
       #include &lt;wctype.h&gt; </pre>  <h2><a  id="DESCRIPTION"
href="#DESCRIPTION"></a>DESCRIPTION   &nbsp; &nbsp; &nbsp; &nbsp;
<a             href="#top_of_page"><span              class="top‐
link">top</span></a></h2><pre>
       Some of the functionality described on this reference page
extends
       the ISO C standard. Applications shall define  the  appro‐
priate feature
       test   macro   (see   the   System  Interfaces  volume  of
POSIX.1‐2008, <i>Section</i>
       <i>2.2</i>, <i>The Compilation Environment</i>) to  enable
the visibility of these
       symbols in this header.

       The  <i>&lt;wctype.h&gt;</i>  header shall define the fol‐
lowing types:

       <b>wint_t      </b>As described in <i>&lt;wchar.h&gt;</i>.

       <b>wctrans_t   </b>A scalar  type  that  can  hold  values
which represent
                   locale‐specific character mappings.

       <b>wctype_t    </b>As described in <i>&lt;wchar.h&gt;</i>.

       The <i>&lt;wctype.h&gt;</i> header shall define the <b>lo‐
cale_t </b>type as described in
       <i>&lt;locale.h&gt;</i>.

       The <i>&lt;wctype.h&gt;</i> header shall define  the  fol‐
lowing macro:

       WEOF        As described in <i>&lt;wchar.h&gt;</i>.

       For  all functions described in this header that accept an
argument of
       type  <b>wint_t</b>,  the  value  is  representable  as  a
<b>wchar_t </b>or equals the
       value  of  WEOF. If this argument has any other value, the
behavior is
       undefined.

       The behavior of these functions shall be affected  by  the
<i>LC_CTYPE</i>
       category of the current locale.

       Inclusion  of  the <i>&lt;wctype.h&gt;</i> header may make
visible all symbols from
       the            headers             <i>&lt;ctype.h&gt;</i>,
<i>&lt;stdarg.h&gt;</i>,                 <i>&lt;stddef.h&gt;</i>,
<i>&lt;stdio.h&gt;</i>, <i>&lt;stdlib.h&gt;</i>,
       <i>&lt;string.h&gt;</i>,    <i>&lt;time.h&gt;</i>,     and
<i>&lt;wchar.h&gt;</i>.

       The  following shall be declared as functions and may also
be defined
       as macros. Function prototypes shall be provided  for  use
with ISO C
       standard compilers.

           <b>int       iswalnum(wint_t);</b>
           <b>int       iswalnum_l(wint_t, locale_t);</b>
           <b>int       iswalpha(wint_t);</b>
           <b>int       iswalpha_l(wint_t, locale_t);</b>
           <b>int       iswblank(wint_t);</b>
           <b>int       iswblank_l(wint_t, locale_t);</b>
           <b>int       iswcntrl(wint_t);</b>
           <b>int       iswcntrl_l(wint_t, locale_t);</b>
           <b>int       iswctype(wint_t, wctype_t);</b>
           <b>int          iswctype_l(wint_t,    wctype_t,    lo‐
cale_t);</b>
           <b>int       iswdigit(wint_t);</b>
           <b>int       iswdigit_l(wint_t, locale_t);</b>
           <b>int       iswgraph(wint_t);</b>
           <b>int       iswgraph_l(wint_t, locale_t);</b>
           <b>int       iswlower(wint_t);</b>
           <b>int       iswlower_l(wint_t, locale_t);</b>
           <b>int       iswprint(wint_t);</b>
           <b>int       iswprint_l(wint_t, locale_t);</b>
           <b>int       iswpunct(wint_t);</b>
           <b>int       iswpunct_l(wint_t, locale_t);</b>
           <b>int       iswspace(wint_t);</b>
           <b>int       iswspace_l(wint_t, locale_t);</b>
           <b>int       iswupper(wint_t);</b>
           <b>int       iswupper_l(wint_t, locale_t);</b>
           <b>int       iswxdigit(wint_t);</b>
           <b>int       iswxdigit_l(wint_t, locale_t);</b>
           <b>wint_t    towctrans(wint_t, wctrans_t);</b>
           <b>wint_t      towctrans_l(wint_t,   wctrans_t,    lo‐
cale_t);</b>
           <b>wint_t    towlower(wint_t);</b>
           <b>wint_t    towlower_l(wint_t, locale_t);</b>
           <b>wint_t    towupper(wint_t);</b>
           <b>wint_t    towupper_l(wint_t, locale_t);</b>
           <b>wctrans_t wctrans(const char *);</b>
           <b>wctrans_t wctrans_l(const char *, locale_t);</b>
           <b>wctype_t  wctype(const char *);</b>
           <b>wctype_t  wctype_l(const char *, locale_t);</b>

       <i>The  following  sections  are  informative.</i>  </pre>
<h2><a  id="APPLICATION_USAGE"  href="#APPLICATION_USAGE"></a>AP‐
PLICATION    USAGE     &nbsp;    &nbsp;    &nbsp;    &nbsp;    <a
href="#top_of_page"><span                             class="top‐
link">top</span></a></h2><pre>
       None.     </pre>   <h2><a   id="RATIONALE"   href="#RATIO‐
NALE"></a>RATIONALE    &nbsp;    &nbsp;    &nbsp;    &nbsp;    <a
href="#top_of_page"><span                             class="top‐
link">top</span></a></h2><pre>
       None.   </pre>  <h2><a  id="FUTURE_DIRECTIONS"  href="#FU‐
TURE_DIRECTIONS"></a>FUTURE DIRECTIONS  &nbsp; &nbsp; &nbsp; &nb‐
sp;        <a        href="#top_of_page"><span        class="top‐
link">top</span></a></h2><pre>
       None.     </pre>   <h2><a   id="SEE_ALSO"   href="#SEE_AL‐
SO"></a>SEE   ALSO     &nbsp;    &nbsp;    &nbsp;    &nbsp;    <a
href="#top_of_page"><span                             class="top‐
link">top</span></a></h2><pre>
       <a   href="../man0/ctype.h.0p.html">ctype.h(0p)</a>,    <a
href="../man0/locale.h.0p.html">locale.h(0p)</a>,              <a
href="../man0/stdarg.h.0p.html">stdarg.h(0p)</a>,              <a
href="../man0/stddef.h.0p.html">stddef.h(0p)</a>,              <a
href="../man0/stdio.h.0p.html">stdio.h(0p)</a>,
       <a  href="../man0/stdlib.h.0p.html">stdlib.h(0p)</a>,   <a
href="../man0/string.h.0p.html">string.h(0p)</a>,              <a
href="../man0/time.h.0p.html">time.h(0p)</a>,                  <a
href="../man0/wchar.h.0p.html">wchar.h(0p)</a>

       The  System  Interfaces volume of POSIX.1‐2008, <i>Section
2.2</i>, <i>The</i>
       <i>Compilation  Environment</i>,  <a  href="../man3/iswal‐
num.3p.html">iswalnum(3p)</a>,       <a      href="../man3/iswal‐
pha.3p.html">iswalpha(3p)</a>,                                 <a
href="../man3/iswblank.3p.html">iswblank(3p)</a>,
       <a   href="../man3/iswcntrl.3p.html">iswcntrl(3p)</a>,  <a
href="../man3/iswctype.3p.html">iswctype(3p)</a>,              <a
href="../man3/iswdigit.3p.html">iswdigit(3p)</a>,              <a
href="../man3/iswgraph.3p.html">iswgraph(3p)</a>,              <a
href="../man3/iswlower.3p.html">iswlower(3p)</a>,
       <a   href="../man3/iswprint.3p.html">iswprint(3p)</a>,  <a
href="../man3/iswpunct.3p.html">iswpunct(3p)</a>,              <a
href="../man3/iswspace.3p.html">iswspace(3p)</a>,              <a
href="../man3/iswupper.3p.html">iswupper(3p)</a>,
       <a href="../man3/iswxdigit.3p.html">iswxdigit(3p)</a>,  <a
href="../man3/setlocale.3p.html">setlocale(3p)</a>,            <a
href="../man3/towctrans.3p.html">towctrans(3p)</a>,            <a
href="../man3/towlower.3p.html">towlower(3p)</a>,
       <a   href="../man3/towupper.3p.html">towupper(3p)</a>,  <a
href="../man3/wctrans.3p.html">wctrans(3p)</a>,                <a
href="../man3/wctype.3p.html">wctype(3p)</a>     </pre>    <h2><a
id="COPYRIGHT"  href="#COPYRIGHT"></a>COPYRIGHT   &nbsp;   &nbsp;
&nbsp;    &nbsp;    <a    href="#top_of_page"><span   class="top‐
link">top</span></a></h2><pre>
       Portions of this text  are  reprinted  and  reproduced  in
electronic form
       from  IEEE Std 1003.1, 2013 Edition, Standard for Informa‐
tion
       Technology ‐‐ Portable Operating System Interface (POSIX),
The Open
       Group  Base  Specifications Issue 7, Copyright (C) 2013 by
the
       Institute of Electrical and Electronics Engineers, Inc and
The Open
       Group.  (This is POSIX.1‐2008 with the 2013 Technical Cor‐
rigendum 1
       applied.) In the event of  any  discrepancy  between  this
version and
       the  original IEEE and The Open Group Standard, the origi‐
nal IEEE and
       The Open Group Standard is the referee document. The orig‐
inal
       Standard     can     be     obtained    online    at    <a
href="http://www.unix.org/online.html">http://www.unix.org/on‐
line.html</a> .

       Any typographical or formatting errors that appear in this
page are
       most likely to have been introduced during the  conversion
of the
       source  files  to  man page format. To report such errors,
see
       <a      href="https://www.kernel.org/doc/man‐pages/report‐
ing_bugs.html">https://www.kernel.org/doc/man‐pages/report‐
ing_bugs.html</a> .

<span class="footline">IEEE/The Open  Group                  2013
wctype.h(0P)</span> </pre>

<hr class="end‐man‐text" />

<hr class="start‐footer" />

<div class="footer">

<table class="colophon‐table">
    <tr>
    <td class="pub‐info">
        <p>
            HTML rendering created 2019‐08‐02
            by  <a  href="http://man7.org/mtk/index.html">Michael
Kerrisk</a>,
            author of
            <a  href="http://man7.org/tlpi/"><em>The  Linux  Pro‐
gramming Interface</em></a>,
            maintainer of the
            <a href="https://www.kernel.org/doc/man‐pages/">Linux
<em>man‐pages</em> project</a>.
        </p>
        <p>
            For details of in‐depth
            <strong>Linux/UNIX system programming training  cour‐
ses</strong>
            that  I  teach,  look <a href="http://man7.org/train‐
ing/">here</a>.
        </p>
        <p>
            Hosting   by    <a    href="http://www.jambit.com/in‐
dex_en.html">jambit GmbH</a>.
        </p>
        <p>
            <a href="http://validator.w3.org/check?uri=referer">
            <img src="http://www.w3.org/Icons/valid‐xhtml11"
                alt="Valid XHTML 1.1" height="31" width="88" />
            </a>
        </p>
    </td>
    <td class="colophon‐divider">
    </td>
    <td class="tlpi‐cover">
        <a                      href="http://man7.org/tlpi/"><img
src="http://man7.org/tlpi/cover/TLPI‐front‐cover‐vsmall.png"
alt="Cover of TLPI" /></a>
    </td>
    </tr> </table>

</div>

<hr class="end‐footer" />

</body> </html>