home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
216.lha
/
EdLib_v1.0
/
isodigit.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1996-02-15
|
281 b
|
18 lines
/* edlib version 1.0 of 04/08/88 */
/*
returns a nonzero value if c is the code for an octal digit, otherwise
return zero
*/
#include <ctype.h>
int isodigit(c)
char c;
{
if (c == '9' || c == '8') {
return(0);
} else {
return(isdigit(c));
}
}