The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 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.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]