ctype_8h.html (14006B)
1<!-- HTML header for doxygen 1.8.14--> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml"> 4<head> 5<meta http-equiv="cache-control" content="max-age=86400"/> 6<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 7<meta http-equiv="X-UA-Compatible" content="IE=9"/> 8<meta name="generator" content="Doxygen 1.8.20"/> 9<meta name="viewport" content="width=device-width, initial-scale=1"/> 10<title>GBDK 2020 Docs: ctype.h File Reference</title> 11<link href="tabs.css" rel="stylesheet" type="text/css"/> 12<script type="text/javascript" src="jquery.js"></script> 13<script type="text/javascript" src="dynsections.js"></script> 14<link href="navtree.css" rel="stylesheet" type="text/css"/> 15<script type="text/javascript" src="resize.js"></script> 16<script type="text/javascript" src="navtreedata.js"></script> 17<script type="text/javascript" src="navtree.js"></script> 18<link href="search/search.css" rel="stylesheet" type="text/css"/> 19<script type="text/javascript" src="search/searchdata.js"></script> 20<script type="text/javascript" src="search/search.js"></script> 21<link href="doxygen.css" rel="stylesheet" type="text/css" /> 22<link href="doxygen_extra.css" rel="stylesheet" type="text/css"/> 23</head> 24<body> 25<div id="top"><!-- do not remove this div, it is closed by doxygen! --> 26<div id="titlearea"> 27<table cellspacing="0" cellpadding="0"> 28 <tbody> 29 <tr style="height: 56px;"> 30 <td id="projectalign" style="padding-left: 0.5em;"> 31 <div id="projectname">GBDK 2020 Docs 32  <span id="projectnumber">4.0.6</span> 33 </div> 34 <div id="projectbrief">API Documentation for GBDK 2020</div> 35 </td> 36 </tr> 37 </tbody> 38</table> 39</div> 40<!-- end header part --> 41<!-- Generated by Doxygen 1.8.20 --> 42<script type="text/javascript"> 43/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ 44var searchBox = new SearchBox("searchBox", "search",false,'Search'); 45/* @license-end */ 46</script> 47<script type="text/javascript" src="menudata.js"></script> 48<script type="text/javascript" src="menu.js"></script> 49<script type="text/javascript"> 50/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ 51$(function() { 52 initMenu('',true,false,'search.php','Search'); 53 $(document).ready(function() { init_search(); }); 54}); 55/* @license-end */</script> 56<div id="main-nav"></div> 57</div><!-- top --> 58<div id="side-nav" class="ui-resizable side-nav-resizable"> 59 <div id="nav-tree"> 60 <div id="nav-tree-contents"> 61 <div id="nav-sync" class="sync"></div> 62 </div> 63 </div> 64 <div id="splitbar" style="-moz-user-select:none;" 65 class="ui-resizable-handle"> 66 </div> 67</div> 68<script type="text/javascript"> 69/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ 70$(document).ready(function(){initNavTree('ctype_8h.html',''); initResizable(); }); 71/* @license-end */ 72</script> 73<div id="doc-content"> 74<!-- window showing the filter options --> 75<div id="MSearchSelectWindow" 76 onmouseover="return searchBox.OnSearchSelectShow()" 77 onmouseout="return searchBox.OnSearchSelectHide()" 78 onkeydown="return searchBox.OnSearchSelectKey(event)"> 79</div> 80 81<!-- iframe showing the search results (closed by default) --> 82<div id="MSearchResultsWindow"> 83<iframe src="javascript:void(0)" frameborder="0" 84 name="MSearchResults" id="MSearchResults"> 85</iframe> 86</div> 87 88<div class="header"> 89 <div class="summary"> 90<a href="#func-members">Functions</a> </div> 91 <div class="headertitle"> 92<div class="title">ctype.h File Reference</div> </div> 93</div><!--header--> 94<div class="contents"> 95<div class="textblock"><code>#include <<a class="el" href="types_8h_source.html">types.h</a>></code><br /> 96<code>#include <<a class="el" href="stdbool_8h_source.html">stdbool.h</a>></code><br /> 97</div> 98<p><a href="ctype_8h_source.html">Go to the source code of this file.</a></p> 99<table class="memberdecls"> 100<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> 101Functions</h2></td></tr> 102<tr class="memitem:aa08b907b413d5f156b6214e72d0612bb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stdbool_8h.html#abb452686968e48b67397da5f97445f5b">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="ctype_8h.html#aa08b907b413d5f156b6214e72d0612bb">isalpha</a> (char <a class="el" href="sms_8h.html#a0b3366755f3276b0243c1e0497471b7a">c</a>)</td></tr> 103<tr class="separator:aa08b907b413d5f156b6214e72d0612bb"><td class="memSeparator" colspan="2"> </td></tr> 104<tr class="memitem:a31e9b95a4c8bca65d901dca5c0c95c1f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stdbool_8h.html#abb452686968e48b67397da5f97445f5b">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="ctype_8h.html#a31e9b95a4c8bca65d901dca5c0c95c1f">isupper</a> (char <a class="el" href="sms_8h.html#a0b3366755f3276b0243c1e0497471b7a">c</a>)</td></tr> 105<tr class="separator:a31e9b95a4c8bca65d901dca5c0c95c1f"><td class="memSeparator" colspan="2"> </td></tr> 106<tr class="memitem:a0b70d87c74367a00d03702a44da39614"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stdbool_8h.html#abb452686968e48b67397da5f97445f5b">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="ctype_8h.html#a0b70d87c74367a00d03702a44da39614">islower</a> (char <a class="el" href="sms_8h.html#a0b3366755f3276b0243c1e0497471b7a">c</a>)</td></tr> 107<tr class="separator:a0b70d87c74367a00d03702a44da39614"><td class="memSeparator" colspan="2"> </td></tr> 108<tr class="memitem:af3380cc4b95d21a135cd1b35fc9a09cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stdbool_8h.html#abb452686968e48b67397da5f97445f5b">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="ctype_8h.html#af3380cc4b95d21a135cd1b35fc9a09cc">isdigit</a> (char <a class="el" href="sms_8h.html#a0b3366755f3276b0243c1e0497471b7a">c</a>)</td></tr> 109<tr class="separator:af3380cc4b95d21a135cd1b35fc9a09cc"><td class="memSeparator" colspan="2"> </td></tr> 110<tr class="memitem:a48644b2a9c138472af0e1c83f688bd58"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stdbool_8h.html#abb452686968e48b67397da5f97445f5b">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="ctype_8h.html#a48644b2a9c138472af0e1c83f688bd58">isspace</a> (char <a class="el" href="sms_8h.html#a0b3366755f3276b0243c1e0497471b7a">c</a>)</td></tr> 111<tr class="separator:a48644b2a9c138472af0e1c83f688bd58"><td class="memSeparator" colspan="2"> </td></tr> 112<tr class="memitem:a811b7a0d5194feaccfacf8a7f02bb9c3"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="ctype_8h.html#a811b7a0d5194feaccfacf8a7f02bb9c3">toupper</a> (char <a class="el" href="sms_8h.html#a0b3366755f3276b0243c1e0497471b7a">c</a>)</td></tr> 113<tr class="separator:a811b7a0d5194feaccfacf8a7f02bb9c3"><td class="memSeparator" colspan="2"> </td></tr> 114<tr class="memitem:a207391fc2c5fa7786d5e0b9ef8ba5e80"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="ctype_8h.html#a207391fc2c5fa7786d5e0b9ef8ba5e80">tolower</a> (char <a class="el" href="sms_8h.html#a0b3366755f3276b0243c1e0497471b7a">c</a>)</td></tr> 115<tr class="separator:a207391fc2c5fa7786d5e0b9ef8ba5e80"><td class="memSeparator" colspan="2"> </td></tr> 116</table> 117<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> 118<div class="textblock"><p>Character type functions. </p> 119</div><h2 class="groupheader">Function Documentation</h2> 120<a id="aa08b907b413d5f156b6214e72d0612bb"></a> 121<h2 class="memtitle"><span class="permalink"><a href="#aa08b907b413d5f156b6214e72d0612bb">◆ </a></span>isalpha()</h2> 122 123<div class="memitem"> 124<div class="memproto"> 125 <table class="memname"> 126 <tr> 127 <td class="memname"><a class="el" href="stdbool_8h.html#abb452686968e48b67397da5f97445f5b">bool</a> isalpha </td> 128 <td>(</td> 129 <td class="paramtype">char </td> 130 <td class="paramname"><em>c</em></td><td>)</td> 131 <td></td> 132 </tr> 133 </table> 134</div><div class="memdoc"> 135<p>Returns TRUE if the character <b>c</b> is a letter (a-z, A-Z), otherwise FALSE </p><dl class="params"><dt>Parameters</dt><dd> 136 <table class="params"> 137 <tr><td class="paramname">c</td><td>Character to test </td></tr> 138 </table> 139 </dd> 140</dl> 141 142</div> 143</div> 144<a id="a31e9b95a4c8bca65d901dca5c0c95c1f"></a> 145<h2 class="memtitle"><span class="permalink"><a href="#a31e9b95a4c8bca65d901dca5c0c95c1f">◆ </a></span>isupper()</h2> 146 147<div class="memitem"> 148<div class="memproto"> 149 <table class="memname"> 150 <tr> 151 <td class="memname"><a class="el" href="stdbool_8h.html#abb452686968e48b67397da5f97445f5b">bool</a> isupper </td> 152 <td>(</td> 153 <td class="paramtype">char </td> 154 <td class="paramname"><em>c</em></td><td>)</td> 155 <td></td> 156 </tr> 157 </table> 158</div><div class="memdoc"> 159<p>Returns TRUE if the character <b>c</b> is an uppercase letter (A-Z), otherwise FALSE </p><dl class="params"><dt>Parameters</dt><dd> 160 <table class="params"> 161 <tr><td class="paramname">c</td><td>Character to test </td></tr> 162 </table> 163 </dd> 164</dl> 165 166</div> 167</div> 168<a id="a0b70d87c74367a00d03702a44da39614"></a> 169<h2 class="memtitle"><span class="permalink"><a href="#a0b70d87c74367a00d03702a44da39614">◆ </a></span>islower()</h2> 170 171<div class="memitem"> 172<div class="memproto"> 173 <table class="memname"> 174 <tr> 175 <td class="memname"><a class="el" href="stdbool_8h.html#abb452686968e48b67397da5f97445f5b">bool</a> islower </td> 176 <td>(</td> 177 <td class="paramtype">char </td> 178 <td class="paramname"><em>c</em></td><td>)</td> 179 <td></td> 180 </tr> 181 </table> 182</div><div class="memdoc"> 183<p>Returns TRUE if the character <b>c</b> is a lowercase letter (a-z), otherwise FALSE </p><dl class="params"><dt>Parameters</dt><dd> 184 <table class="params"> 185 <tr><td class="paramname">c</td><td>Character to test </td></tr> 186 </table> 187 </dd> 188</dl> 189 190</div> 191</div> 192<a id="af3380cc4b95d21a135cd1b35fc9a09cc"></a> 193<h2 class="memtitle"><span class="permalink"><a href="#af3380cc4b95d21a135cd1b35fc9a09cc">◆ </a></span>isdigit()</h2> 194 195<div class="memitem"> 196<div class="memproto"> 197 <table class="memname"> 198 <tr> 199 <td class="memname"><a class="el" href="stdbool_8h.html#abb452686968e48b67397da5f97445f5b">bool</a> isdigit </td> 200 <td>(</td> 201 <td class="paramtype">char </td> 202 <td class="paramname"><em>c</em></td><td>)</td> 203 <td></td> 204 </tr> 205 </table> 206</div><div class="memdoc"> 207<p>Returns TRUE if the character <b>c</b> is a digit (0-9), otherwise FALSE </p><dl class="params"><dt>Parameters</dt><dd> 208 <table class="params"> 209 <tr><td class="paramname">c</td><td>Character to test </td></tr> 210 </table> 211 </dd> 212</dl> 213 214</div> 215</div> 216<a id="a48644b2a9c138472af0e1c83f688bd58"></a> 217<h2 class="memtitle"><span class="permalink"><a href="#a48644b2a9c138472af0e1c83f688bd58">◆ </a></span>isspace()</h2> 218 219<div class="memitem"> 220<div class="memproto"> 221 <table class="memname"> 222 <tr> 223 <td class="memname"><a class="el" href="stdbool_8h.html#abb452686968e48b67397da5f97445f5b">bool</a> isspace </td> 224 <td>(</td> 225 <td class="paramtype">char </td> 226 <td class="paramname"><em>c</em></td><td>)</td> 227 <td></td> 228 </tr> 229 </table> 230</div><div class="memdoc"> 231<p>Returns TRUE if the character <b>c</b> is a space (' '), tab (\t), or newline (\n) character, otherwise FALSE </p><dl class="params"><dt>Parameters</dt><dd> 232 <table class="params"> 233 <tr><td class="paramname">c</td><td>Character to test </td></tr> 234 </table> 235 </dd> 236</dl> 237 238</div> 239</div> 240<a id="a811b7a0d5194feaccfacf8a7f02bb9c3"></a> 241<h2 class="memtitle"><span class="permalink"><a href="#a811b7a0d5194feaccfacf8a7f02bb9c3">◆ </a></span>toupper()</h2> 242 243<div class="memitem"> 244<div class="memproto"> 245 <table class="memname"> 246 <tr> 247 <td class="memname">char toupper </td> 248 <td>(</td> 249 <td class="paramtype">char </td> 250 <td class="paramname"><em>c</em></td><td>)</td> 251 <td></td> 252 </tr> 253 </table> 254</div><div class="memdoc"> 255<p>Returns uppercase version of character <b>c</b> if it is a letter (a-z), otherwise it returns the input value unchanged. </p><dl class="params"><dt>Parameters</dt><dd> 256 <table class="params"> 257 <tr><td class="paramname">c</td><td>Character to test </td></tr> 258 </table> 259 </dd> 260</dl> 261 262</div> 263</div> 264<a id="a207391fc2c5fa7786d5e0b9ef8ba5e80"></a> 265<h2 class="memtitle"><span class="permalink"><a href="#a207391fc2c5fa7786d5e0b9ef8ba5e80">◆ </a></span>tolower()</h2> 266 267<div class="memitem"> 268<div class="memproto"> 269 <table class="memname"> 270 <tr> 271 <td class="memname">char tolower </td> 272 <td>(</td> 273 <td class="paramtype">char </td> 274 <td class="paramname"><em>c</em></td><td>)</td> 275 <td></td> 276 </tr> 277 </table> 278</div><div class="memdoc"> 279<p>Returns lowercase version of character <b>c</b> if it is a letter (A-Z), otherwise it returns the input value unchanged. </p><dl class="params"><dt>Parameters</dt><dd> 280 <table class="params"> 281 <tr><td class="paramname">c</td><td>Character to test </td></tr> 282 </table> 283 </dd> 284</dl> 285 286</div> 287</div> 288</div><!-- contents --> 289</div><!-- doc-content --> 290<!-- HTML footer for doxygen 1.8.14--> 291<!-- start footer part --> 292<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> 293</div> 294</body> 295</html>