isalpha

Isalpha - NAME isalnum isalpha isascii isblank iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit − character

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
NAME isalnum, isalpha, isascii, isblank, iscntrl, isdigit, isgraph, islower ,isprint, ispunct, isspace, isupper ,isxdigit -character classification routines SYNOPSIS #include <ctype.h> 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 ); DESCRIPTION These functions check whether c ,which must have the value of an unsigned char or EOF ,falls into a cer- tain character class according to the current locale. isalnum() checks for an alphanumeric character; it is equivalent to (isalpha( c )| |isdigit( c )) . isalpha() checks for an alphabetic character; in the standard "C" locale, it is equivalent to (isupper( c )| | islower( c )) .Insome locales, there may be additional characters for which
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/05/2009 for the course COMP 2510 taught by Professor A during the Spring '06 term at BC.

Page1 / 2

Isalpha - NAME isalnum isalpha isascii isblank iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit − character

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online