Loading...
Select Version
&pagelevel(4)&pagelevel
Definition | #include <ctype.h> int isebcdic(int c);
| ||
Return val. |
0 | the value of c represents an EBCDIC character (values 0 - 255), c doesn’t represent an EBCDIC character (values | |
Notes |
| ||
Example | #include <ctype.h>
#include <stdio.h>
int main(void)
{
int c;
while((c = getchar()) != EOF)
printf("%s : %c\n", ((isebcdic(c)) ? "EBCDIC character" : "Other"), c);
return 0;
}
| ||
See also | isalpha, isalnum, isascii, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, | ||