Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/include/ctype.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _U   0001
#define _L   0002
#define _N   0004
#define _S   0010
#define _P   0020
#define _C   0040
#define _X   0100
#define isalpha(c)   ((_ctype_+1)[(int)c]&(_U|_L))
#define isupper(c)   ((_ctype_+1)[(int)c]&_U)
#define islower(c)   ((_ctype_+1)[(int)c]&_L)
#define isdigit(c)   ((_ctype_+1)[(int)c]&_N)
#define isxdigit(c)   ((_ctype_+1)[(int)c]&(_N|_X))
#define isspace(c)   ((_ctype_+1)[(int)c]&_S)
#define ispunct(c)   ((_ctype_+1)[(int)c]&_P)
#define isalnum(c)   ((_ctype_+1)[(int)c]&(_U|_L|_N))
#define isprshort(c)   ((_ctype_+1)[(int)c]&(_P|_U|_L|_N))
#define isprint(c)   ((_ctype_+1)[(int)c]&(_P|_U|_L|_N|_S))
#define iscntrl(c)   ((_ctype_+1)[(int)c]&_C)
#define isascii(c)   ((unsigned)((int)(c))<=0177)
#define toupper(c)   (((int)(c))-'a'+'A')
#define tolower(c)   (((int)(c))-'A'+'a')
#define toascii(c)   (((int)(c))&0177)
#define ishexnumber(c)

Variables

char _ctype_ []


Detailed Description

Includes isalpha, isupper, islower, isdigit, isspace, ispunct, isalnum, isprshort, isprint, iscntrl, toupper, tolower, toascii

Id
ctype.h 221 2007-07-11 18:45:46Z mschul

Definition in file ctype.h.


Define Documentation

#define _C   0040

Definition at line 19 of file ctype.h.

#define _L   0002

Definition at line 15 of file ctype.h.

#define _N   0004

Definition at line 16 of file ctype.h.

#define _P   0020

Definition at line 18 of file ctype.h.

#define _S   0010

Definition at line 17 of file ctype.h.

#define _U   0001

Definition at line 14 of file ctype.h.

#define _X   0100

Definition at line 20 of file ctype.h.

#define isalnum (  )     ((_ctype_+1)[(int)c]&(_U|_L|_N))

Definition at line 31 of file ctype.h.

#define isalpha (  )     ((_ctype_+1)[(int)c]&(_U|_L))

Definition at line 24 of file ctype.h.

#define isascii (  )     ((unsigned)((int)(c))<=0177)

Definition at line 35 of file ctype.h.

#define iscntrl (  )     ((_ctype_+1)[(int)c]&_C)

Definition at line 34 of file ctype.h.

#define isdigit (  )     ((_ctype_+1)[(int)c]&_N)

Definition at line 27 of file ctype.h.

Referenced by _doscan(), and _innum().

#define ishexnumber (  ) 

Value:

(isdigit(c) || \
                (isalpha(c) && c >= (isupper(c) ? 'A' : 'a') && \
                c <= (isupper(c) ? 'F' : 'f')))

Definition at line 40 of file ctype.h.

#define islower (  )     ((_ctype_+1)[(int)c]&_L)

Definition at line 26 of file ctype.h.

#define isprint (  )     ((_ctype_+1)[(int)c]&(_P|_U|_L|_N|_S))

Definition at line 33 of file ctype.h.

#define isprshort (  )     ((_ctype_+1)[(int)c]&(_P|_U|_L|_N))

Definition at line 32 of file ctype.h.

#define ispunct (  )     ((_ctype_+1)[(int)c]&_P)

Definition at line 30 of file ctype.h.

#define isspace (  )     ((_ctype_+1)[(int)c]&_S)

Definition at line 29 of file ctype.h.

#define isupper (  )     ((_ctype_+1)[(int)c]&_U)

Definition at line 25 of file ctype.h.

Referenced by _doscan().

#define isxdigit (  )     ((_ctype_+1)[(int)c]&(_N|_X))

Definition at line 28 of file ctype.h.

#define toascii (  )     (((int)(c))&0177)

Definition at line 38 of file ctype.h.

#define tolower (  )     (((int)(c))-'A'+'a')

Definition at line 37 of file ctype.h.

Referenced by _doscan().

#define toupper (  )     (((int)(c))-'a'+'A')

Definition at line 36 of file ctype.h.


Variable Documentation

char _ctype_[]

Definition at line 11 of file ctype_.c.


Generated on Thu Oct 9 22:34:31 2008 for xinu by  doxygen 1.5.5