HELPLIB.HLB  —  CRTL  ispunct
    Indicates if a character is classed as a punctuation character in
    the program's current locale.

    Format

      #include  <ctype.h>

      int ispunct  (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 punctuation character.
    0                  If not a punctuation character.
Close Help