NAME

isascii - test for a 7-bit US-ASCII character

SYNOPSIS

#include <ctype.h>

int isascii(int c);

DESCRIPTION

The isascii() function tests whether c is a 7-bit US-ASCII character code.

The isascii() function is defined on all integer values.

RETURN VALUE

The isascii() function returns non-zero if c is a 7-bit US-ASCII character code between 0 and octal 0177 inclusive; otherwise it returns 0.

ERRORS

No errors are defined.

EXAMPLES

None.

APPLICATION USAGE

None.

FUTURE DIRECTIONS

None.

SEE ALSO

<ctype.h>.

DERIVATION

Derived from Issue 1 of the SVID.