//ctype.h Copyright (C) 1989-97 I.Pedley (CTPP) Sat 23-Jan-1999 at 22:15:50

#define _SPC    8       //white space
#define _CTL    0x20    //control char
#define _BLK    0x40    //' '
#define _HEX    0x80    //hex digit
#define _UC     1       //upper case letter
#define _LC     2       //lower case letter
#define _PNC    0x10    //punctuation
#define _DIG    4       //dig

EX  UC _ctype[];

//ANSI library functions 7.3.1.1 to 7.3.1.11, note however that parameters are
//passed in as "UC" not "int" as in the ANSI definition. As this implemenation
//uses a 256-byte lookup table, this ensures that array indexes are always
//within the table bounds
SL  isalnum (UC c);
SL  isalpha (UC c);
SL  iscntrl (UC c);
SL  isdigit (UC c);
SL  isgraph (UC c);
SL  islower (UC c);
SL  isprint (UC c);
SL  ispunct (UC c);
SL  isspace (UC c);
SL  isupper (UC c);
SL  isxdigit(UC c);

SL  isdispc (UC c);  //CTPP is displayable character

//ANSI library functions 7.3.2.1 and 7.3.2.2
SL  toupper (UC c);
SL  tolower (UC c);

//extern  int     __iscsymf(int);
//extern  int     __iscsym(int);