wctype.h(3)                POSIX Programmer's Manual               wctype.h(3)



PPRROOLLOOGG
       This manual page is part of the POSIX Programmer's Manual.  The OS
       implementation of this interface may differ (consult the corresponding
       OS manual page for details of OS behavior), or the interface may not be
       implemented on OS.

NNAAMMEE
       wctype.h -- wide-character classification and mapping utilities

SSYYNNOOPPSSIISS
       #include <wctype.h>

DDEESSCCRRIIPPTTIIOONN
       Some of the functionality described on this reference page extends the
       ISO C standard. Applications shall define the appropriate feature test
       macro (see the System Interfaces volume of POSIX.1-2017, _S_e_c_t_i_o_n _2_._2,
       _T_h_e _C_o_m_p_i_l_a_t_i_o_n _E_n_v_i_r_o_n_m_e_n_t) to enable the visibility of these symbols
       in this header.

       The _<_w_c_t_y_p_e_._h_> header shall define the following types:

       wwiinntt__tt      As described in _<_w_c_h_a_r_._h_>.

       wwccttrraannss__tt   A scalar type that can hold values which represent locale-
                   specific character mappings.

       wwccttyyppee__tt    As described in _<_w_c_h_a_r_._h_>.

       The _<_w_c_t_y_p_e_._h_> header shall define the llooccaallee__tt type as described in
       _<_l_o_c_a_l_e_._h_>.

       The _<_w_c_t_y_p_e_._h_> header shall define the following macro:

       WEOF        As described in _<_w_c_h_a_r_._h_>.

       For all functions described in this header that accept an argument of
       type wwiinntt__tt, the value is representable as a wwcchhaarr__tt 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 _L_C___C_T_Y_P_E
       category of the current locale.

       Inclusion of the _<_w_c_t_y_p_e_._h_> header may make visible all symbols from
       the headers _<_c_t_y_p_e_._h_>, _<_s_t_d_a_r_g_._h_>, _<_s_t_d_d_e_f_._h_>, _<_s_t_d_i_o_._h_>, _<_s_t_d_l_i_b_._h_>,
       _<_s_t_r_i_n_g_._h_>, _<_t_i_m_e_._h_>, and _<_w_c_h_a_r_._h_>.

       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.


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

       _T_h_e _f_o_l_l_o_w_i_n_g _s_e_c_t_i_o_n_s _a_r_e _i_n_f_o_r_m_a_t_i_v_e_.

AAPPPPLLIICCAATTIIOONN UUSSAAGGEE
       None.

RRAATTIIOONNAALLEE
       None.

FFUUTTUURREE DDIIRREECCTTIIOONNSS
       None.

SSEEEE AALLSSOO
       <<ccttyyppee..hh>>, <<llooccaallee..hh>>, <<ssttddaarrgg..hh>>, <<ssttddddeeff..hh>>, <<ssttddiioo..hh>>, <<ssttddlliibb..hh>>,
       <<ssttrriinngg..hh>>, <<ttiimmee..hh>>, <<wwcchhaarr..hh>>

       The System Interfaces volume of POSIX.1-2017, _S_e_c_t_i_o_n _2_._2, _T_h_e
       _C_o_m_p_i_l_a_t_i_o_n _E_n_v_i_r_o_n_m_e_n_t, _i_s_w_a_l_n_u_m(), _i_s_w_a_l_p_h_a(), _i_s_w_b_l_a_n_k(),
       _i_s_w_c_n_t_r_l(), _i_s_w_c_t_y_p_e(), _i_s_w_d_i_g_i_t(), _i_s_w_g_r_a_p_h(), _i_s_w_l_o_w_e_r(), _i_s_w_p_r_i_n_t(),
       _i_s_w_p_u_n_c_t(), _i_s_w_s_p_a_c_e(), _i_s_w_u_p_p_e_r(), _i_s_w_x_d_i_g_i_t(), _s_e_t_l_o_c_a_l_e(),
       _t_o_w_c_t_r_a_n_s(), _t_o_w_l_o_w_e_r(), _t_o_w_u_p_p_e_r(), _w_c_t_r_a_n_s(), _w_c_t_y_p_e()

CCOOPPYYRRIIGGHHTT
       Portions of this text are reprinted and reproduced in electronic form
       from IEEE Std 1003.1-2017, Standard for Information Technology --
       Portable Operating System Interface (POSIX), The Open Group Base
       Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the
       Institute of Electrical and Electronics Engineers, Inc and The Open
       Group.  In the event of any discrepancy between this version and the
       original IEEE and The Open Group Standard, the original IEEE and The
       Open Group Standard is the referee document. The original Standard can
       be obtained online at http://www.opengroup.org/unix/online.html .

       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
       https://www.kernel.org/doc/man-pages/reporting_bugs.html .



IEEE/The Open Group                  2017                          wctype.h(3)
