📄 ctype.h.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta name="generator" content="HTML Tidy, see www.w3.org"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link type="text/css" rel="stylesheet" href="style.css"><!-- Generated by The Open Group's rhtm tool v1.2.1 --><!-- Copyright (c) 2001-2003 The Open Group, All Rights Reserved --><title><ctype.h></title></head><body bgcolor="white"><script type="text/javascript" language="JavaScript" src="../jscript/codes.js"></script><basefont size="3"> <a name="<ctype.h>"></a> <a name="tag_13_07"></a><!-- <ctype.h> --> <!--header start--><center><font size="2">The Open Group Base Specifications Issue 6<br>IEEE Std 1003.1, 2003 Edition<br>Copyright © 2001-2003 The IEEE and The Open Group, All Rights reserved.</font></center><!--header end--><hr size="2" noshade><h4><a name="tag_13_07_01"></a>NAME</h4><blockquote>ctype.h - character types</blockquote><h4><a name="tag_13_07_02"></a>SYNOPSIS</h4><blockquote class="synopsis"><p><tt>#include <ctype.h></tt></p></blockquote><h4><a name="tag_13_07_03"></a>DESCRIPTION</h4><blockquote><div class="box"><sup>[<a href="javascript:open_code('CX')">CX</a>]</sup> <img src="../images/opt-start.gif" alt="[Option Start]"border="0"> Some of the functionality described on this reference page extends the ISO C standard. Applications shall definethe appropriate feature test macro (see the System Interfaces volume of IEEE Std 1003.1-2001, <a href="../functions/xsh_chap02_02.html">Section 2.2, The Compilation Environment</a>) to enable the visibility of these symbols in thisheader. <img src="../images/opt-end.gif" alt="[Option End]" border="0"></div><p>The following shall be declared as functions and may also be defined as macros. Function prototypes shall be provided.</p><pre><tt>int isalnum(int);int isalpha(int);<sup>[<a href="javascript:open_code('XSI')">XSI</a>]</sup><img src="../images/opt-start.gif" alt="[Option Start]" border="0">int isascii(int);<img src="../images/opt-end.gif" alt="[Option End]" border="0">int isblank(int);int iscntrl(int);int isdigit(int);int isgraph(int);int islower(int);int isprint(int);int ispunct(int);int isspace(int);int isupper(int);int isxdigit(int);<sup>[<a href="javascript:open_code('XSI')">XSI</a>]</sup><img src="../images/opt-start.gif" alt="[Option Start]" border="0">int toascii(int);<img src="../images/opt-end.gif" alt="[Option End]" border="0">int tolower(int);int toupper(int);</tt></pre><p>The following are defined as macros:</p><pre><tt><sup>[<a href="javascript:open_code('XSI')">XSI</a>]</sup><img src="../images/opt-start.gif" alt="[Option Start]" border="0">int _toupper(int);int _tolower(int);<img src="../images/opt-end.gif" alt="[Option End]" border="0"></tt></pre></blockquote><hr><div class="box"><em>The following sections are informative.</em></div><h4><a name="tag_13_07_04"></a>APPLICATION USAGE</h4><blockquote><p>None.</p></blockquote><h4><a name="tag_13_07_05"></a>RATIONALE</h4><blockquote><p>None.</p></blockquote><h4><a name="tag_13_07_06"></a>FUTURE DIRECTIONS</h4><blockquote><p>None.</p></blockquote><h4><a name="tag_13_07_07"></a>SEE ALSO</h4><blockquote><p><a href="locale.h.html"><i><locale.h></i></a> , the System Interfaces volume of IEEE Std 1003.1-2001, <a href="../functions/isalnum.html"><i>isalnum</i>()</a>, <a href="../functions/isalpha.html"><i>isalpha</i>()</a>, <a href="../functions/isascii.html"><i>isascii</i>()</a>, <a href="../functions/iscntrl.html"><i>iscntrl</i>()</a>, <a href="../functions/isdigit.html"><i>isdigit</i>()</a>, <a href="../functions/isgraph.html"><i>isgraph</i>()</a>, <a href="../functions/islower.html"><i>islower</i>()</a>, <a href="../functions/isprint.html"><i>isprint</i>()</a>, <a href="../functions/ispunct.html"><i>ispunct</i>()</a>, <a href="../functions/isspace.html"><i>isspace</i>()</a>, <a href="../functions/isupper.html"><i>isupper</i>()</a>, <a href="../functions/isxdigit.html"><i>isxdigit</i>()</a>, <a href="../functions/mblen.html"><i>mblen</i>()</a>, <a href="../functions/mbstowcs.html"><i>mbstowcs</i>()</a>, <a href="../functions/mbtowc.html"><i>mbtowc</i>()</a>, <a href="../functions/setlocale.html"><i>setlocale</i>()</a>, <a href="../functions/toascii.html"><i>toascii</i>()</a>, <a href="../functions/tolower.html"><i>tolower</i>()</a>, <a href="../functions/_tolower.html"><i>_tolower</i>()</a>, <a href="../functions/toupper.html"><i>toupper</i>()</a>, <a href="../functions/_toupper.html"><i>_toupper</i>()</a>, <a href="../functions/wcstombs.html"><i>wcstombs</i>()</a>, <a href="../functions/wctomb.html"><i>wctomb</i>()</a></p></blockquote><h4><a name="tag_13_07_08"></a>CHANGE HISTORY</h4><blockquote><p>First released in Issue 1. Derived from Issue 1 of the SVID.</p></blockquote><h4><a name="tag_13_07_09"></a>Issue 6</h4><blockquote><p>Extensions beyond the ISO C standard are marked.</p></blockquote><div class="box"><em>End of informative text.</em></div><hr><hr size="2" noshade><center><font size="2"><!--footer start-->UNIX ® is a registered Trademark of The Open Group.<br>POSIX ® is a registered Trademark of The IEEE.<br>[ <a href="../mindex.html">Main Index</a> | <a href="../basedefs/contents.html">XBD</a> | <a href="../utilities/contents.html">XCU</a> | <a href="../functions/contents.html">XSH</a> | <a href="../xrat/contents.html">XRAT</a>]</font></center><!--footer end--><hr size="2" noshade></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -