Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

isebcdic - EBCDIC-Zeichen?

&pagelevel(4)&pagelevel

Definition

#include <ctype.h>

int isebcdic(int c);

isebcdic prüft, ob der Wert des Zeichens c ein EBCDIC-Zeichen repräsentiert (Werte 0 - 255).

Returnwert

!= 0

der Wert von c repräsentiert ein EBCDIC-Zeichen (Werte 0 - 255).


0

kein EBCDIC-Zeichen (Werte != 0 - 255).

Hinweise

isebcdic ist sowohl als Makro als auch als Funktion realisiert (siehe Abschnitt "Funktionen und Makros“).
isebcdic ist ein Synonym für isascii. Ist Portabilität zu ASCII-Rechnern erforderlich, sollten Sie statt isebcdic isascii verwenden.

Beispiel

#include <ctype.h>
#include <stdio.h>
int main(void)
{
  int c;
  while((c = getchar()) != EOF)
    printf("%s : %c\n", ((isebcdic(c)) ? "EBCDIC-Zeichen" : "Sonstiges"), c);
  return 0;
} 

Siehe auch

isalpha, isalnum, isascii, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit