avr-libc  2.0.0
Standard C library for AVR-GCC

AVR Libc Home Page

AVRs

AVR Libc Development Pages

Main Page

User Manual

Library Reference

FAQ

Example Projects

All Data Structures Files Functions Variables Typedefs Enumerations Macros Modules Pages
ctype.h ファイルリファレンス

このファイルのソースコードを参照する

関数

文字識別ルーチン

文字を識別する関数群です。関数に渡された文字が関数の分類に入るかを判定し、trueまたはfalseステータを返します(たとえば isdigit()は、引数が「0」~「9」までのいずれかの値の時にtrueを返します)。 入力が符号なしchar値でない場合、この関数はすべてfalseを返します。

int isalnum (int __c)
 
int isalpha (int __c)
 
int isascii (int __c)
 
int isblank (int __c)
 
int iscntrl (int __c)
 
int isdigit (int __c)
 
int isgraph (int __c)
 
int islower (int __c)
 
int isprint (int __c)
 
int ispunct (int __c)
 
int isspace (int __c)
 
int isupper (int __c)
 
int isxdigit (int __c)
 
文字変換ルーチン

すべての整数引数が許可されています。toascii() 関数は、すべての最上位ビットをクリアします。tolower()toupper() 関数は、unsigned char値でないとき、入力引数をそのまま返します。

int toascii (int __c)
 
int tolower (int __c)
 
int toupper (int __c)