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);

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.

Return Values
nonzero  If a punctuation character. 
If not a punctuation character. 


Previous Page | Next Page | Table of Contents | Index