isascii

Tests for ASCII character

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

Arguments

c Input character

Return Value

A non-zero value is returned if the input character c is in the ascii character set, otherwise 0 is returned.

Explanation

The character c is tested as to whether it is in the ascii character set.

See Also

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