ispunct

Tests for lower case character

#include <ctype.h>
long ispunct (
        long c
)

Arguments

c Input character

Return Value

A non-zero value is returned if the input character c is a printable character (except spaces), or English letter or number. Otherwise 0 is returned.

Explanation

The character c is tested as to whether it is a printable character (except spaces), or English letter or number.

See Also

isalnum(), isalpha(), isascii(), iscntrl(), isdigit(), isgraph(), islower(), isprint(), isspace(), isupper(), isxdigit()