isgraph

Tests for printable character (except space)

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

Arguments

c Input character

Return Value

A non-zero value is returned if the input character c is a printable character, not including spaces, otherwise 0 is returned.

Explanation

The character c is tested as to whether it is a printable character, which does not in this case include spaces.

See Also

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