Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.sao.ru/hq/sts/linux/book/c_marshall/section2_21_2.html
Дата изменения: Unknown
Дата индексирования: Sat Sep 11 19:55:37 2010
Кодировка:

Поисковые слова: barnard 68
Character Classification and Conversion



Next: Data Conversion Up: C Standard Library Functions Previous: Buffer Manipulation

Character Classification and Conversion

#include <ctype.h>

int isalnum(int c) - True if c is alphanumeric.

int isalpha(int c) - True if c is a letter.

int isascii(int c) - True if c is ASCII .

int iscntrl(int c) - True if c is a control character.

int isdigit(int c) - True if c is a decimal digit.

int isgraph(int c) - True if c is a graphical character.

int islower(int c) - True if c is a lowercase letter.

int isprint(int c) - True if c is a printable character.

int ispunct (int c) - True if c is a punctuation character.

int isspace(int c) - True if c is a space character.

int isupper(int c) - True if c is an uppercase letter.

int isxdigit(int c) - True if c is a hexadecimal digit.

int toascii(int c) - Convert c to ASCII .

tolower(int c) - Convert c to lowercase.

int toupper(int c) - Convert c to uppercase.


Dave.Marshall@cm.cf.ac.uk
Wed Sep 14 10:06:31 BST 1994