亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? library_4.html

?? Glibc的中文手冊
?? HTML
字號:
<!-- This HTML file has been created by texi2html 1.27
     from library.texinfo on 3 March 1994 -->

<TITLE>The GNU C Library - Character Handling</TITLE>
<P>Go to the <A HREF="library_3.html" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_3.html">previous</A>, <A HREF="library_5.html" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_5.html">next</A> section.<P>
<H1><A NAME="SEC54" HREF="library_toc.html#SEC54" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_toc.html#SEC54">Character Handling</A></H1>
<P>
Programs that work with characters and strings often need to classify a
character--is it alphabetic, is it a digit, is it whitespace, and so
on--and perform case conversion operations on characters.  The
functions in the header file <TT>`ctype.h'</TT> are provided for this
purpose.
<A NAME="IDX225"></A>
<P>
Since the choice of locale and character set can alter the
classifications of particular character codes, all of these functions
are affected by the current locale.  (More precisely, they are affected
by the locale currently selected for character classification--the
<CODE>LC_CTYPE</CODE> category; see section <A HREF="library_7.html#SEC79" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_7.html#SEC79">Categories of Activities that Locales Affect</A>.)
<P>
<A NAME="IDX226"></A>
<A NAME="IDX227"></A>
<A NAME="IDX228"></A>
<A NAME="IDX229"></A>
<H2><A NAME="SEC55" HREF="library_toc.html#SEC55" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_toc.html#SEC55">Classification of Characters</A></H2>
<P>
This section explains the library functions for classifying characters.
For example, <CODE>isalpha</CODE> is the function to test for an alphabetic
character.  It takes one argument, the character to test, and returns a
nonzero integer if the character is alphabetic, and zero otherwise.  You
would use it like this:
<P>
<PRE>
if (isalpha (c))
  printf ("The character `%c' is alphabetic.\n", c);
</PRE>
<P>
Each of the functions in this section tests for membership in a
particular class of characters; each has a name starting with <SAMP>`is'</SAMP>.
Each of them takes one argument, which is a character to test, and
returns an <CODE>int</CODE> which is treated as a boolean value.  The
character argument is passed as an <CODE>int</CODE>, and it may be the
constant value <CODE>EOF</CODE> instead of a real character.  
<P>
The attributes of any given character can vary between locales.
See section <A HREF="library_7.html#SEC76" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_7.html#SEC76">Locales and Internationalization</A>, for more information on locales.<P>
These functions are declared in the header file <TT>`ctype.h'</TT>.
<A NAME="IDX230"></A>
<A NAME="IDX231"></A>
<P>
<A NAME="IDX232"></A>
<U>Function:</U> int <B>islower</B> <I>(int <VAR>c</VAR>)</I><P>
Returns true if <VAR>c</VAR> is a lower-case letter.
<P>
<A NAME="IDX233"></A>
<P>
<A NAME="IDX234"></A>
<U>Function:</U> int <B>isupper</B> <I>(int <VAR>c</VAR>)</I><P>
Returns true if <VAR>c</VAR> is an upper-case letter.
<P>
<A NAME="IDX235"></A>
<P>
<A NAME="IDX236"></A>
<U>Function:</U> int <B>isalpha</B> <I>(int <VAR>c</VAR>)</I><P>
Returns true if <VAR>c</VAR> is an alphabetic character (a letter).  If
<CODE>islower</CODE> or <CODE>isupper</CODE> is true of a character, then
<CODE>isalpha</CODE> is also true.
<P>
In some locales, there may be additional characters for which
<CODE>isalpha</CODE> is true--letters which are neither upper case nor lower
case.  But in the standard <CODE>"C"</CODE> locale, there are no such
additional characters.
<P>
<A NAME="IDX237"></A>
<A NAME="IDX238"></A>
<P>
<A NAME="IDX239"></A>
<U>Function:</U> int <B>isdigit</B> <I>(int <VAR>c</VAR>)</I><P>
Returns true if <VAR>c</VAR> is a decimal digit (<SAMP>`0'</SAMP> through <SAMP>`9'</SAMP>).
<P>
<A NAME="IDX240"></A>
<P>
<A NAME="IDX241"></A>
<U>Function:</U> int <B>isalnum</B> <I>(int <VAR>c</VAR>)</I><P>
Returns true if <VAR>c</VAR> is an alphanumeric character (a letter or
number); in other words, if either <CODE>isalpha</CODE> or <CODE>isdigit</CODE> is
true of a character, then <CODE>isalnum</CODE> is also true.
<P>
<A NAME="IDX242"></A>
<P>
<A NAME="IDX243"></A>
<U>Function:</U> int <B>isxdigit</B> <I>(int <VAR>c</VAR>)</I><P>
Returns true if <VAR>c</VAR> is a hexadecimal digit.
Hexadecimal digits include the normal decimal digits <SAMP>`0'</SAMP> through
<SAMP>`9'</SAMP> and the letters <SAMP>`A'</SAMP> through <SAMP>`F'</SAMP> and
<SAMP>`a'</SAMP> through <SAMP>`f'</SAMP>.
<P>
<A NAME="IDX244"></A>
<P>
<A NAME="IDX245"></A>
<U>Function:</U> int <B>ispunct</B> <I>(int <VAR>c</VAR>)</I><P>
Returns true if <VAR>c</VAR> is a punctuation character.
This means any printing character that is not alphanumeric or a space
character.
<P>
<A NAME="IDX246"></A>
<P>
<A NAME="IDX247"></A>
<U>Function:</U> int <B>isspace</B> <I>(int <VAR>c</VAR>)</I><P>
Returns true if <VAR>c</VAR> is a <DFN>whitespace</DFN> character.  In the standard
<CODE>"C"</CODE> locale, <CODE>isspace</CODE> returns true for only the standard
whitespace characters:
<P>
<DL COMPACT>
<DT><CODE>' '</CODE>
<DD>space
<P>
<DT><CODE>'\f'</CODE>
<DD>formfeed
<P>
<DT><CODE>'\n'</CODE>
<DD>newline
<P>
<DT><CODE>'\r'</CODE>
<DD>carriage return
<P>
<DT><CODE>'\t'</CODE>
<DD>horizontal tab
<P>
<DT><CODE>'\v'</CODE>
<DD>vertical tab
</DL>
<P>
<A NAME="IDX248"></A>
<P>
<A NAME="IDX249"></A>
<U>Function:</U> int <B>isblank</B> <I>(int <VAR>c</VAR>)</I><P>
Returns true if <VAR>c</VAR> is a blank character; that is, a space or a tab.
This function is a GNU extension.
<P>
<A NAME="IDX250"></A>
<P>
<A NAME="IDX251"></A>
<U>Function:</U> int <B>isgraph</B> <I>(int <VAR>c</VAR>)</I><P>
Returns true if <VAR>c</VAR> is a graphic character; that is, a character
that has a glyph associated with it.  The whitespace characters are not
considered graphic.
<P>
<A NAME="IDX252"></A>
<P>
<A NAME="IDX253"></A>
<U>Function:</U> int <B>isprint</B> <I>(int <VAR>c</VAR>)</I><P>
Returns true if <VAR>c</VAR> is a printing character.  Printing characters
include all the graphic characters, plus the space (<SAMP>` '</SAMP>) character.
<P>
<A NAME="IDX254"></A>
<P>
<A NAME="IDX255"></A>
<U>Function:</U> int <B>iscntrl</B> <I>(int <VAR>c</VAR>)</I><P>
Returns true if <VAR>c</VAR> is a control character (that is, a character that
is not a printing character).
<P>
<A NAME="IDX256"></A>
<P>
<A NAME="IDX257"></A>
<U>Function:</U> int <B>isascii</B> <I>(int <VAR>c</VAR>)</I><P>
Returns true if <VAR>c</VAR> is a 7-bit <CODE>unsigned char</CODE> value that fits
into the US/UK ASCII character set.  This function is a BSD extension
and is also an SVID extension.
<P>
<A NAME="IDX258"></A>
<A NAME="IDX259"></A>
<A NAME="IDX260"></A>
<H2><A NAME="SEC56" HREF="library_toc.html#SEC56" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_toc.html#SEC56">Case Conversion</A></H2>
<P>
This section explains the library functions for performing conversions
such as case mappings on characters.  For example, <CODE>toupper</CODE>
converts any character to upper case if possible.  If the character
can't be converted, <CODE>toupper</CODE> returns it unchanged.
<P>
These functions take one argument of type <CODE>int</CODE>, which is the
character to convert, and return the converted character as an
<CODE>int</CODE>.  If the conversion is not applicable to the argument given,
the argument is returned unchanged.
<P>
<STRONG>Compatibility Note:</STRONG> In pre-ANSI C dialects, instead of
returning the argument unchanged, these functions may fail when the
argument is not suitable for the conversion.  Thus for portability, you
may need to write <CODE>islower(c) ? toupper(c) : c</CODE> rather than just
<CODE>toupper(c)</CODE>.
<P>
These functions are declared in the header file <TT>`ctype.h'</TT>.
<A NAME="IDX261"></A>
<P>
<A NAME="IDX262"></A>
<U>Function:</U> int <B>tolower</B> <I>(int <VAR>c</VAR>)</I><P>
If <VAR>c</VAR> is an upper-case letter, <CODE>tolower</CODE> returns the corresponding
lower-case letter.  If <VAR>c</VAR> is not an upper-case letter,
<VAR>c</VAR> is returned unchanged.
<P>
<A NAME="IDX263"></A>
<U>Function:</U> int <B>toupper</B> <I>(int <VAR>c</VAR>)</I><P>
If <VAR>c</VAR> is a lower-case letter, <CODE>tolower</CODE> returns the corresponding
upper-case letter.  Otherwise <VAR>c</VAR> is returned unchanged.
<P>
<A NAME="IDX264"></A>
<U>Function:</U> int <B>toascii</B> <I>(int <VAR>c</VAR>)</I><P>
This function converts <VAR>c</VAR> to a 7-bit <CODE>unsigned char</CODE> value
that fits into the US/UK ASCII character set, by clearing the high-order
bits.  This function is a BSD extension and is also an SVID extension.
<P>
<A NAME="IDX265"></A>
<U>Function:</U> int <B>_tolower</B> <I>(int <VAR>c</VAR>)</I><P>
This is identical to <CODE>tolower</CODE>, and is provided for compatibility
with the SVID.  See section <A HREF="library_1.html#SEC7" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_1.html#SEC7">SVID (The System V Interface Description)</A>.<P>
<A NAME="IDX266"></A>
<U>Function:</U> int <B>_toupper</B> <I>(int <VAR>c</VAR>)</I><P>
This is identical to <CODE>toupper</CODE>, and is provided for compatibility
with the SVID.
<P>
<P>Go to the <A HREF="library_3.html" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_3.html">previous</A>, <A HREF="library_5.html" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_5.html">next</A> section.<P>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
免费不卡在线观看| 日韩av中文在线观看| 欧美高清视频在线高清观看mv色露露十八 | 欧美一级电影网站| 色欧美片视频在线观看| 国产剧情一区在线| 日韩成人精品在线| 亚洲一区二区视频在线观看| 国产欧美1区2区3区| 欧美r级在线观看| 欧美亚洲国产一卡| 91一区一区三区| 高清不卡在线观看| 国内精品不卡在线| 久久99精品一区二区三区三区| 一区二区三区四区乱视频| 国产欧美一区二区三区在线看蜜臀| 91精品国产欧美一区二区18| 一本久久a久久免费精品不卡| 国产精品综合二区| 精品一区二区三区在线视频| 亚洲第一二三四区| 亚洲一区二区三区在线播放| 最新高清无码专区| 欧美激情综合网| 久久精品人人做人人综合| 精品国产一区a| 日韩色在线观看| 91精品国产一区二区三区香蕉| 欧美日韩小视频| 欧美少妇性性性| 欧美视频在线观看一区二区| 色一区在线观看| 一本久久精品一区二区| 色综合天天性综合| 91片在线免费观看| 色婷婷精品大视频在线蜜桃视频| 91视频com| 91首页免费视频| 日本电影欧美片| 91麻豆国产福利在线观看| 99精品久久免费看蜜臀剧情介绍 | 欧美在线综合视频| 欧日韩精品视频| 欧美日韩中文字幕一区二区| 欧美日韩国产在线播放网站| 欧美日韩的一区二区| 欧美一二三区在线| 久久亚洲综合色| 久久精品综合网| 亚洲视频狠狠干| 亚洲高清免费观看| 日本不卡一二三| 精品一区二区影视| 成人av综合在线| 一本到三区不卡视频| 精品视频一区二区不卡| 欧美一级日韩一级| 国产欧美精品一区aⅴ影院| 日韩美女视频19| 一区二区三区国产精品| 免费观看在线色综合| 国产东北露脸精品视频| av一区二区三区| 欧美在线一区二区| 亚洲精品在线电影| 综合欧美亚洲日本| 亚洲 欧美综合在线网络| 久久av中文字幕片| 91麻豆国产福利精品| 91精品国产美女浴室洗澡无遮挡| 久久一二三国产| 一区二区三区在线视频播放| 日韩av电影天堂| 成人一区二区三区在线观看| 91高清视频在线| 欧美一区二区三区不卡| 中文一区在线播放| 丝袜诱惑制服诱惑色一区在线观看 | 99re这里只有精品6| 宅男在线国产精品| 国产精品久久久久久久久久免费看| 亚洲一二三四在线| 国产精品综合在线视频| 欧美视频在线播放| 国产校园另类小说区| 亚洲一区在线看| 国产大陆精品国产| 91精品国产日韩91久久久久久| 国产精品久久久久国产精品日日 | 亚洲电影第三页| 国产成人av福利| 欧美精品黑人性xxxx| 成人欧美一区二区三区黑人麻豆 | 成人国产在线观看| 日韩一级视频免费观看在线| 一区在线中文字幕| 国产乱妇无码大片在线观看| 777午夜精品视频在线播放| 亚洲人成网站精品片在线观看 | 成人18视频日本| 欧美成人一区二区三区在线观看| 亚洲精品v日韩精品| 国产成人三级在线观看| 91精品福利在线一区二区三区| 亚洲欧美日韩一区| 成人午夜电影久久影院| 日韩小视频在线观看专区| 亚洲一区二区三区四区五区黄| 国产91在线观看| 精品国产成人系列| 日韩和欧美的一区| 欧美性猛交一区二区三区精品| 国产精品美女久久久久高潮 | 欧美三级韩国三级日本三斤| 中文字幕一区二区三区精华液| 激情久久五月天| 欧美电影免费观看高清完整版在| 亚洲超碰97人人做人人爱| 在线视频中文字幕一区二区| 国产精品久久久久天堂| 不卡免费追剧大全电视剧网站| 日韩精品中文字幕一区 | 成人午夜激情片| 国产欧美一区视频| 国产成人精品午夜视频免费 | 午夜一区二区三区视频| 91国偷自产一区二区开放时间| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆 | 欧美最新大片在线看| 亚洲精品国久久99热| 91麻豆免费看片| 一级精品视频在线观看宜春院| 在线观看免费成人| 亚洲成人自拍一区| 欧美福利一区二区| 蜜桃一区二区三区在线观看| 日韩精品专区在线影院观看| 黑人精品欧美一区二区蜜桃| 久久九九久精品国产免费直播| 国产.欧美.日韩| 亚洲区小说区图片区qvod| 色香蕉成人二区免费| 一区二区三区四区不卡在线| 欧美亚洲禁片免费| 丝袜美腿亚洲色图| 精品日产卡一卡二卡麻豆| 激情综合网av| 久久精品这里都是精品| 成人av资源在线| 亚洲国产成人porn| 欧美一级免费观看| 国产精品1024| 国产精品成人网| 欧美性大战久久久久久久蜜臀 | 久久日一线二线三线suv| 国产91精品免费| 一区二区三区高清| 欧美一区二区三区白人| 国产在线观看免费一区| 一区在线观看视频| 6080yy午夜一二三区久久| 国产一区二区精品在线观看| 18成人在线视频| 8v天堂国产在线一区二区| 国产一区二区不卡老阿姨| 18成人在线视频| 欧美一区二区三区在线电影| 国产精品一色哟哟哟| 亚洲夂夂婷婷色拍ww47| 精品国产a毛片| 色综合久久中文字幕综合网| 免费一级欧美片在线观看| 欧美国产精品v| 欧美日韩在线三区| 国产suv精品一区二区883| 亚洲狠狠爱一区二区三区| 精品电影一区二区| 在线精品视频小说1| 国产在线麻豆精品观看| 一区二区三区在线视频观看58| 日韩小视频在线观看专区| 99re在线视频这里只有精品| 免费成人在线播放| 综合久久综合久久| 久久综合狠狠综合久久综合88| 欧美中文字幕亚洲一区二区va在线 | 亚洲大片精品永久免费| 国产视频视频一区| 欧美男女性生活在线直播观看| 国产美女久久久久| 亚洲超碰97人人做人人爱| 国产精品久久久一区麻豆最新章节| 91精品久久久久久蜜臀| 99久久免费视频.com| 国产一区二区三区香蕉| 亚洲成人黄色影院| 亚洲欧美偷拍三级| 国产亚洲综合av| 精品女同一区二区|