ctype.h(3)                 POSIX Programmer's Manual                ctype.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
       ctype.h -- character types

SSYYNNOOPPSSIISS
       #include <ctype.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 _<_c_t_y_p_e_._h_> header shall define the llooccaallee__tt type as described in
       _<_l_o_c_a_l_e_._h_>, representing a locale object.

       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   isalnum(int);
           int   isalnum_l(int, locale_t);
           int   isalpha(int);
           int   isalpha_l(int, locale_t);
           int   isascii(int);
           int   isblank(int);
           int   isblank_l(int, locale_t);
           int   iscntrl(int);
           int   iscntrl_l(int, locale_t);
           int   isdigit(int);
           int   isdigit_l(int, locale_t);
           int   isgraph(int);
           int   isgraph_l(int, locale_t);
           int   islower(int);
           int   islower_l(int, locale_t);
           int   isprint(int);
           int   isprint_l(int, locale_t);
           int   ispunct(int);
           int   ispunct_l(int, locale_t);
           int   isspace(int);
           int   isspace_l(int, locale_t);
           int   isupper(int);
           int   isupper_l(int, locale_t);
           int   isxdigit(int);
           int   isxdigit_l(int, locale_t);
           int   toascii(int);
           int   tolower(int);
           int   tolower_l(int, locale_t);
           int   toupper(int);
           int   toupper_l(int, locale_t);

       The _<_c_t_y_p_e_._h_> header shall define the following as macros:


           int   _toupper(int);
           int   _tolower(int);

       _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
       <<llooccaallee..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_a_l_n_u_m(), _i_s_a_l_p_h_a(), _i_s_a_s_c_i_i(), _i_s_b_l_a_n_k(),
       _i_s_c_n_t_r_l(), _i_s_d_i_g_i_t(), _i_s_g_r_a_p_h(), _i_s_l_o_w_e_r(), _i_s_p_r_i_n_t(), _i_s_p_u_n_c_t(),
       _i_s_s_p_a_c_e(), _i_s_u_p_p_e_r(), _i_s_x_d_i_g_i_t(), _m_b_l_e_n(), _m_b_s_t_o_w_c_s(), _m_b_t_o_w_c(),
       _s_e_t_l_o_c_a_l_e(), _t_o_a_s_c_i_i(), _t_o_l_o_w_e_r(), ___t_o_l_o_w_e_r(), _t_o_u_p_p_e_r(), ___t_o_u_p_p_e_r(),
       _w_c_s_t_o_m_b_s(), _w_c_t_o_m_b()

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                           ctype.h(3)
