ispunct

Full prototype:

int ispunct(int);  

Purpose and Notes:

Tests whether the argument passed into the function is a punctuation character (or any non space or alphanumerical character if "C" is the set locale) according to the set locale.

Returns:

int- C-style true if the argument passed into the function is a punctuation character, or a C-style false otherwise.

Argument 1:

int- A character (including the EOF character, hence int instead of char) to be tested on whether it is a punctuation character according to the set locale.

Example 1
  1    FILLER SOURCE CODE
FILLER TERMINAL