ISPUNCT - check for punctuation character.

(ANSI Standard)

Usage:

#include <ctype.h>
i = ispunct(c);

Where:

int c;
is the character you want to check.
int i;
is 1 if "c" is a punctuation character (i.e. printable but not alphanumeric or a space).

Description:

"ispunct" determines whether a character is a punctuation character.

Copyright © 1996, Thinkage Ltd.