ISASCII(3) Library Functions Manual ISASCII(3)

isasciitest for a 7-bit US-ASCII character

#include <ctype.h>

int isascii(int c);

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

The function is defined on all integer values.

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.

No errors are defined.

None.

None.

None.

<ctype.h> .

Derived from Issue 1 of the SVID.

February 1997 posix.fail