\hypertarget{group__ctype}{}\doxysubsection{$<$ctype.\+h$>$\+: Character Operations}
\label{group__ctype}\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxysubsubsection*{Character classification routines}
\label{_amgrp3cffbf32c02a5073ab67ade732f94ffb}%
These functions perform character classification. They return true or false status depending whether the character passed to the function falls into the function\textquotesingle{}s classification (i.\+e. \mbox{\hyperlink{group__ctype_ga49b21b266576c2490dab1e8f897c801a}{isdigit()}} returns true if its argument is any value \textquotesingle{}0\textquotesingle{} though \textquotesingle{}9\textquotesingle{}, inclusive). If the input is not an unsigned char value, all of this function return false. \begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{group__ctype_gae62f8f9e20430c822d07697b277c5de7}{isalnum}} (int \+\_\+\+\_\+c)
\item 
int \mbox{\hyperlink{group__ctype_ga66e77eea7376ce0c1e00223f45d0aba9}{isalpha}} (int \+\_\+\+\_\+c)
\item 
int \mbox{\hyperlink{group__ctype_ga41f2d44607ddcc15266bd63cb8e563c4}{isascii}} (int \+\_\+\+\_\+c)
\item 
int \mbox{\hyperlink{group__ctype_gad1a49aed816573f1b5787176f5ec701e}{isblank}} (int \+\_\+\+\_\+c)
\item 
int \mbox{\hyperlink{group__ctype_ga659606df93739b0193c9e98df2953ae0}{iscntrl}} (int \+\_\+\+\_\+c)
\item 
int \mbox{\hyperlink{group__ctype_ga49b21b266576c2490dab1e8f897c801a}{isdigit}} (int \+\_\+\+\_\+c)
\item 
int \mbox{\hyperlink{group__ctype_gae89269f754744bbd5486788d06e0c7c9}{isgraph}} (int \+\_\+\+\_\+c)
\item 
int \mbox{\hyperlink{group__ctype_gae293e218972b626f6304aecbae044ef6}{islower}} (int \+\_\+\+\_\+c)
\item 
int \mbox{\hyperlink{group__ctype_gaa2ded03e3a0d8f5ef2a8df3e834e916d}{isprint}} (int \+\_\+\+\_\+c)
\item 
int \mbox{\hyperlink{group__ctype_gaa46e128f7550afb4f2cda133594cb4b6}{ispunct}} (int \+\_\+\+\_\+c)
\item 
int \mbox{\hyperlink{group__ctype_ga16e58710aba8108549a1a3c33691b24e}{isspace}} (int \+\_\+\+\_\+c)
\item 
int \mbox{\hyperlink{group__ctype_ga125dbbabac1caef46a0c6dad060a79d1}{isupper}} (int \+\_\+\+\_\+c)
\item 
int \mbox{\hyperlink{group__ctype_ga04826722a22243889683efde883e8ab3}{isxdigit}} (int \+\_\+\+\_\+c)
\end{DoxyCompactItemize}
\doxysubsubsection*{Character convertion routines}
\label{_amgrp4d241bbe011b857da7f54c9d3d4edf40}%
This realization permits all possible values of integer argument. The \mbox{\hyperlink{group__ctype_ga21d5ec3792b2704ecca5778b758dd91f}{toascii()}} function clears all highest bits. The \mbox{\hyperlink{group__ctype_ga9ba1fce7148e9b63ca6296e02c79bedd}{tolower()}} and \mbox{\hyperlink{group__ctype_ga924ed052807e23cfa160d5f171cf5e2a}{toupper()}} functions return an input argument as is, if it is not an unsigned char value. \begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{group__ctype_ga21d5ec3792b2704ecca5778b758dd91f}{toascii}} (int \+\_\+\+\_\+c)
\item 
int \mbox{\hyperlink{group__ctype_ga9ba1fce7148e9b63ca6296e02c79bedd}{tolower}} (int \+\_\+\+\_\+c)
\item 
int \mbox{\hyperlink{group__ctype_ga924ed052807e23cfa160d5f171cf5e2a}{toupper}} (int \+\_\+\+\_\+c)
\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}
These functions perform various operations on characters. 


\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{preprocessor}{\#include <\mbox{\hyperlink{ctype_8h}{ctype.h}}>}}
\end{DoxyCode}
 

\doxysubsubsection{Function Documentation}
\mbox{\Hypertarget{group__ctype_gae62f8f9e20430c822d07697b277c5de7}\label{group__ctype_gae62f8f9e20430c822d07697b277c5de7}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!isalnum@{isalnum}}
\index{isalnum@{isalnum}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{isalnum()}{isalnum()}}
{\footnotesize\ttfamily int isalnum (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Checks for an alphanumeric character. It is equivalent to {\ttfamily (isalpha(c) $\vert$$\vert$ isdigit(c))}. \mbox{\Hypertarget{group__ctype_ga66e77eea7376ce0c1e00223f45d0aba9}\label{group__ctype_ga66e77eea7376ce0c1e00223f45d0aba9}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!isalpha@{isalpha}}
\index{isalpha@{isalpha}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{isalpha()}{isalpha()}}
{\footnotesize\ttfamily int isalpha (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Checks for an alphabetic character. It is equivalent to {\ttfamily (isupper(c) $\vert$$\vert$ islower(c))}. \mbox{\Hypertarget{group__ctype_ga41f2d44607ddcc15266bd63cb8e563c4}\label{group__ctype_ga41f2d44607ddcc15266bd63cb8e563c4}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!isascii@{isascii}}
\index{isascii@{isascii}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{isascii()}{isascii()}}
{\footnotesize\ttfamily int isascii (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Checks whether {\ttfamily c} is a 7-\/bit unsigned char value that fits into the A\+S\+C\+II character set. \mbox{\Hypertarget{group__ctype_gad1a49aed816573f1b5787176f5ec701e}\label{group__ctype_gad1a49aed816573f1b5787176f5ec701e}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!isblank@{isblank}}
\index{isblank@{isblank}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{isblank()}{isblank()}}
{\footnotesize\ttfamily int isblank (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Checks for a blank character, that is, a space or a tab. \mbox{\Hypertarget{group__ctype_ga659606df93739b0193c9e98df2953ae0}\label{group__ctype_ga659606df93739b0193c9e98df2953ae0}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!iscntrl@{iscntrl}}
\index{iscntrl@{iscntrl}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{iscntrl()}{iscntrl()}}
{\footnotesize\ttfamily int iscntrl (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Checks for a control character. \mbox{\Hypertarget{group__ctype_ga49b21b266576c2490dab1e8f897c801a}\label{group__ctype_ga49b21b266576c2490dab1e8f897c801a}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!isdigit@{isdigit}}
\index{isdigit@{isdigit}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{isdigit()}{isdigit()}}
{\footnotesize\ttfamily int isdigit (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Checks for a digit (0 through 9). \mbox{\Hypertarget{group__ctype_gae89269f754744bbd5486788d06e0c7c9}\label{group__ctype_gae89269f754744bbd5486788d06e0c7c9}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!isgraph@{isgraph}}
\index{isgraph@{isgraph}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{isgraph()}{isgraph()}}
{\footnotesize\ttfamily int isgraph (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Checks for any printable character except space. \mbox{\Hypertarget{group__ctype_gae293e218972b626f6304aecbae044ef6}\label{group__ctype_gae293e218972b626f6304aecbae044ef6}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!islower@{islower}}
\index{islower@{islower}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{islower()}{islower()}}
{\footnotesize\ttfamily int islower (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Checks for a lower-\/case character. \mbox{\Hypertarget{group__ctype_gaa2ded03e3a0d8f5ef2a8df3e834e916d}\label{group__ctype_gaa2ded03e3a0d8f5ef2a8df3e834e916d}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!isprint@{isprint}}
\index{isprint@{isprint}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{isprint()}{isprint()}}
{\footnotesize\ttfamily int isprint (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Checks for any printable character including space. \mbox{\Hypertarget{group__ctype_gaa46e128f7550afb4f2cda133594cb4b6}\label{group__ctype_gaa46e128f7550afb4f2cda133594cb4b6}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!ispunct@{ispunct}}
\index{ispunct@{ispunct}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{ispunct()}{ispunct()}}
{\footnotesize\ttfamily int ispunct (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Checks for any printable character which is not a space or an alphanumeric character. \mbox{\Hypertarget{group__ctype_ga16e58710aba8108549a1a3c33691b24e}\label{group__ctype_ga16e58710aba8108549a1a3c33691b24e}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!isspace@{isspace}}
\index{isspace@{isspace}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{isspace()}{isspace()}}
{\footnotesize\ttfamily int isspace (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Checks for white-\/space characters. For the avr-\/libc library, these are\+: space, form-\/feed (\textquotesingle{}\textbackslash{}f\textquotesingle{}), newline (\textquotesingle{}\textbackslash{}n\textquotesingle{}), carriage return (\textquotesingle{}\textbackslash{}r\textquotesingle{}), horizontal tab (\textquotesingle{}\textbackslash{}t\textquotesingle{}), and vertical tab (\textquotesingle{}\textbackslash{}v\textquotesingle{}). \mbox{\Hypertarget{group__ctype_ga125dbbabac1caef46a0c6dad060a79d1}\label{group__ctype_ga125dbbabac1caef46a0c6dad060a79d1}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!isupper@{isupper}}
\index{isupper@{isupper}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{isupper()}{isupper()}}
{\footnotesize\ttfamily int isupper (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Checks for an uppercase letter. \mbox{\Hypertarget{group__ctype_ga04826722a22243889683efde883e8ab3}\label{group__ctype_ga04826722a22243889683efde883e8ab3}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!isxdigit@{isxdigit}}
\index{isxdigit@{isxdigit}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{isxdigit()}{isxdigit()}}
{\footnotesize\ttfamily int isxdigit (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Checks for a hexadecimal digits, i.\+e. one of 0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F. \mbox{\Hypertarget{group__ctype_ga21d5ec3792b2704ecca5778b758dd91f}\label{group__ctype_ga21d5ec3792b2704ecca5778b758dd91f}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!toascii@{toascii}}
\index{toascii@{toascii}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{toascii()}{toascii()}}
{\footnotesize\ttfamily int toascii (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Converts {\ttfamily c} to a 7-\/bit unsigned char value that fits into the A\+S\+C\+II character set, by clearing the high-\/order bits.

\begin{DoxyWarning}{Warning}
Many people will be unhappy if you use this function. This function will convert accented letters into random characters. 
\end{DoxyWarning}
\mbox{\Hypertarget{group__ctype_ga9ba1fce7148e9b63ca6296e02c79bedd}\label{group__ctype_ga9ba1fce7148e9b63ca6296e02c79bedd}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!tolower@{tolower}}
\index{tolower@{tolower}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{tolower()}{tolower()}}
{\footnotesize\ttfamily int tolower (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Converts the letter {\ttfamily c} to lower case, if possible. \mbox{\Hypertarget{group__ctype_ga924ed052807e23cfa160d5f171cf5e2a}\label{group__ctype_ga924ed052807e23cfa160d5f171cf5e2a}} 
\index{$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}!toupper@{toupper}}
\index{toupper@{toupper}!$<$ctype.h$>$: Character Operations@{$<$ctype.h$>$: Character Operations}}
\doxyparagraph{\texorpdfstring{toupper()}{toupper()}}
{\footnotesize\ttfamily int toupper (\begin{DoxyParamCaption}\item[{int}]{\+\_\+\+\_\+c }\end{DoxyParamCaption})}

Converts the letter {\ttfamily c} to upper case, if possible. 