📄 isalpha.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>isalpha</title></head><body bgcolor=white><center><font size=2>The Single UNIX ® Specification, Version 2<br>Copyright © 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_000_007_011"> </a>NAME</h4><blockquote>isalpha - test for an alphabetic character</blockquote><h4><a name = "tag_000_007_012"> </a>SYNOPSIS</h4><blockquote><pre><code>#include <<a href="ctype.h.html">ctype.h</a>>int isalpha(int <i>c</i>);</code></pre></blockquote><h4><a name = "tag_000_007_013"> </a>DESCRIPTION</h4><blockquote>The<i>isalpha()</i>function tests whether<i>c</i>is a character of class<b>alpha</b>in the program's current locale, seethe <b>XBD</b> specification, <a href="../xbd/locale.html"><b>Locale</b> </a>.<p>In all cases<i>c</i>is an<b>int</b>,the value of which must be representable as an<b>unsigned char</b>or must equal the value of the macro EOF.If the argument has any other value, the behaviour is undefined.</blockquote><h4><a name = "tag_000_007_014"> </a>RETURN VALUE</h4><blockquote>The<i>isalpha()</i>function returns non-zero if<i>c</i>is an alphabetic character; otherwise it returns 0.</blockquote><h4><a name = "tag_000_007_015"> </a>ERRORS</h4><blockquote>No errors are defined.</blockquote><h4><a name = "tag_000_007_016"> </a>EXAMPLES</h4><blockquote>None.</blockquote><h4><a name = "tag_000_007_017"> </a>APPLICATION USAGE</h4><blockquote>To ensure application portability,especially across natural languages,only this function and those listed in the SEE ALSO sectionshould be used for character classification.</blockquote><h4><a name = "tag_000_007_018"> </a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_007_019"> </a>SEE ALSO</h4><blockquote><i><a href="isalnum.html">isalnum()</a></i>,<i><a href="iscntrl.html">iscntrl()</a></i>,<i><a href="isdigit.html">isdigit()</a></i>,<i><a href="isgraph.html">isgraph()</a></i>,<i><a href="islower.html">islower()</a></i>,<i><a href="isprint.html">isprint()</a></i>,<i><a href="ispunct.html">ispunct()</a></i>,<i><a href="isspace.html">isspace()</a></i>,<i><a href="isupper.html">isupper()</a></i>,<i><a href="isxdigit.html">isxdigit()</a></i>,<i><a href="setlocale.html">setlocale()</a></i>,<i><a href="ctype.h.html"><ctype.h></a></i>,<i><a href="stdio.h.html"><stdio.h></a></i>,the <b>XBD</b> specification, <a href="../xbd/locale.html"><b>Locale</b> </a>.</blockquote><h4>DERIVATION</h4><blockquote>Derived from Issue 1 of the SVID.</blockquote><hr size=2 noshade><center><font size=2>UNIX ® is a registered Trademark of The Open Group.<br>Copyright © 1997 The Open Group<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]</font></center><hr size=2 noshade></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -