tail head cat sleep
QR code linking to this page

manページ  — CTYPE

名称

isalnum, isalpha, isascii, isblank, iscntrl, isdigit, isgraph, ishexnumber, isideogram, islower, isnumber, isphonogram, isprint, ispunct, isspace, isspecial, isupper, isxdigit, toascii, tolower, toupper – 文字分類マクロ

内容

ライブラリ

Standard C Library (libc, -lc)

書式


#include <ctype.h>
int
isalnum(int c);

int
isalpha(int c);

int
isascii(int c);

int
iscntrl(int c);

int
isdigit(int c);

int
isgraph(int c);

int
ishexnumber(int c);

int
isideogram(int c);

int
islower(int c);

int
isnumber(int c);

int
isphonogram(int c);

int
isspecial(int c);

int
isprint(int c);

int
ispunct(int c);

int
isrune(int c);

int
isspace(int c);

int
isupper(int c);

int
isxdigit(int c);

int
toascii(int c);

int
tolower(int c);

int
toupper(int c);

解説

上記の関数は、整数 c について文字テストと変換を実行します。これらは、 インクルードファイル < ctype.h> に定義されたマクロ、または C ライブラリ内の 真の関数として利用できます。詳細については、専用のマニュアルページを 参照してください。

関連項目

isalnum(3), isalpha(3), isascii(3), isblank(3), iscntrl(3), isdigit(3), isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3), isxdigit(3), toascii(3), tolower(3), toupper(3), ascii(7)

規格

これらの関数は、 digittoint(), isascii(), isblank(), ishexnumber(), isideogram(), isnumber(), isphonogram(), isrune(), isspecial() および toascii() を 除いて、 ISO/IEC 9899:1990 ("ISO C90") に適合しています。

CTYPE (3) June 4, 1993

tail head cat sleep
QR code linking to this page


このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.

"I liken starting one's computing career with Unix, say as an undergraduate, to being born in East Africa. It is intolerably hot, your body is covered with lice and flies, you are malnourished and you suffer from numerous curable diseases. But, as far as young East Africans can tell, this is simply the natural condition and they live within it. By the time they find out differently, it is too late. They already think that the writing of shell scripts is a natural act."
— Ken Pier, Xerox PARC