ISASCII(3) Library Functions Manual ISASCII(3)
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
DERIVATION
Derived from Issue 1 of the SVID.
February 1997 posix.fail