home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
ENTERPRS
/
CPM
/
UTILS
/
S
/
SMC21LIB.LZH
/
ISXDIGIT.C
< prev
next >
Wrap
Text File
|
2000-06-30
|
256b
|
17 lines
/*
** return "true" if c is a hexadecimal digit
** (0-9, A-F, a-f)
*/
isxdigit(c) int c; {
return ((c<= 'f' && c >= 'a') ||
(c<= 'F' && c >= 'A') ||
(c<= '9' && c >= '0'));
}