home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d1xx
/
d183
/
mklib.lha
/
Mklib
/
Edlib
/
isbdigit.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-02-26
|
247b
|
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);
}
}