📄 ansictype.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/ansiCtype.html - generated by refgen from ansiCtype.c --> <title> ansiCtype </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>VxWorks Reference Manual : Libraries</i></a></p></blockquote><h1>ansiCtype</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>ansiCtype</strong> - ANSI <b>ctype</b> documentation </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./ansiCtype.html#isalnum">isalnum</a></i>( )</b> - test whether a character is alphanumeric (ANSI)<br><b><i><a href="./ansiCtype.html#isalpha">isalpha</a></i>( )</b> - test whether a character is a letter (ANSI)<br><b><i><a href="./ansiCtype.html#iscntrl">iscntrl</a></i>( )</b> - test whether a character is a control character (ANSI)<br><b><i><a href="./ansiCtype.html#isdigit">isdigit</a></i>( )</b> - test whether a character is a decimal digit (ANSI)<br><b><i><a href="./ansiCtype.html#isgraph">isgraph</a></i>( )</b> - test whether a character is a printing, non-white-space character (ANSI)<br><b><i><a href="./ansiCtype.html#islower">islower</a></i>( )</b> - test whether a character is a lower-case letter (ANSI)<br><b><i><a href="./ansiCtype.html#isprint">isprint</a></i>( )</b> - test whether a character is printable, including the space character (ANSI)<br><b><i><a href="./ansiCtype.html#ispunct">ispunct</a></i>( )</b> - test whether a character is punctuation (ANSI)<br><b><i><a href="./ansiCtype.html#isspace">isspace</a></i>( )</b> - test whether a character is a white-space character (ANSI)<br><b><i><a href="./ansiCtype.html#isupper">isupper</a></i>( )</b> - test whether a character is an upper-case letter (ANSI)<br><b><i><a href="./ansiCtype.html#isxdigit">isxdigit</a></i>( )</b> - test whether a character is a hexadecimal digit (ANSI)<br><b><i><a href="./ansiCtype.html#tolower">tolower</a></i>( )</b> - convert an upper-case letter to its lower-case equivalent (ANSI)<br><b><i><a href="./ansiCtype.html#toupper">toupper</a></i>( )</b> - convert a lower-case letter to its upper-case equivalent (ANSI)<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>The header <b>ctype.h</b> declares several functions useful for testing andmapping characters. In all cases, the argument is an <b>int</b>, the value ofwhich is representable as an <b>unsigned char</b> or is equal to thevalue of the macro EOF. If the argument has any other value, thebehavior is undefined.<p>The behavior of the <b>ctype</b> functions is affected by the current locale.VxWorks supports only the "C" locale.<p>The term "printing character" refers to a member of an implementation-definedset of characters, each of which occupies one printing position on adisplay device; the term "control character" refers to a member of animplementation-defined set of characters that are not printing characters.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>ctype.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiCtype.html#top">ansiCtype</a></b>, American National Standard X3.159-1989<hr><a name="isalnum"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>isalnum</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>isalnum</i>( )</strong> - test whether a character is alphanumeric (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int isalnum ( int c /* character to test */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine tests whether <i>c</i> is a character for which <b><i><a href="./ansiCtype.html#isalpha">isalpha</a></i>( )</b> or<b><i><a href="./ansiCtype.html#isdigit">isdigit</a></i>( )</b> returns true.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>ctype.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p>Non-zero if and only if <i>c</i> is alphanumeric.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiCtype.html#top">ansiCtype</a></b><hr><a name="isalpha"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>isalpha</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>isalpha</i>( )</strong> - test whether a character is a letter (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int isalpha ( int c /* character to test */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine tests whether <i>c</i> is a character for which <b><i><a href="./ansiCtype.html#isupper">isupper</a></i>( )</b> or <b><i><a href="./ansiCtype.html#islower">islower</a></i>( )</b> returns true.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>ctype.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p>Non-zero if and only if <i>c</i> is a letter.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiCtype.html#top">ansiCtype</a></b><hr><a name="iscntrl"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>iscntrl</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>iscntrl</i>( )</strong> - test whether a character is a control character (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int iscntrl ( int c /* character to test */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine tests whether <i>c</i> is a control character.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>ctype.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p>Non-zero if and only if <i>c</i> is a control character.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiCtype.html#top">ansiCtype</a></b><hr><a name="isdigit"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>isdigit</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>isdigit</i>( )</strong> - test whether a character is a decimal digit (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int isdigit ( int c /* character to test */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine tests whether <i>c</i> is a decimal-digit character.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>ctype.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p>Non-zero if and only if <i>c</i> is a decimal digit.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiCtype.html#top">ansiCtype</a></b><hr><a name="isgraph"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>isgraph</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>isgraph</i>( )</strong> - test whether a character is a printing, non-white-space character (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int isgraph ( int c /* character to test */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns true if <i>c</i> is a printing character, and not acharacter for which <b><i><a href="./ansiCtype.html#isspace">isspace</a></i>( )</b> returns true.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>ctype.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p><p>Non-zero if and only if <i>c</i> is a printable, non-white-space character.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiCtype.html#top">ansiCtype</a></b>, <b><i><a href="./ansiCtype.html#isspace">isspace</a></i>( )</b><hr><a name="islower"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>islower</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>islower</i>( )</strong> - test whether a character is a lower-case letter (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int islower ( int c /* character to test */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine tests whether <i>c</i> is a lower-case letter.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>ctype.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p>Non-zero if and only if <i>c</i> is a lower-case letter.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiCtype.html#top">ansiCtype</a></b><hr><a name="isprint"></a><p align=right>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -