VMS Help  —  CRTL  iscntrl
    Indicates if a character is classed as a control character in the
    program's current locale.

    Format

      #include  <ctype.h>

      int iscntrl  (int character);

1  –  Argument

 character

    An object of type int. The value of character must be
    representable as an unsigned char or must equal the value of the
    macro EOF. If it has any other value, the behavior is undefined.

2  –  Return Values

    nonzero            If a control character.
    0                  If not a control character.
Close Help