home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
216.lha
/
EdLib_v1.0
/
isbdigit.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
|
247 b
|
16 lines
/* edlib version 1.0 of 04/08/88 */
/*
tests whether the given character could be a binary digit
*/
#include <stdio.h>
int isbdigit(c)
char c;
{
if ( c == '1' || c == '0' ) {
return(1);
} else {
return(NULL);
}
}