isascii()

tests if character is a 7-bit US-ASCII character 

Function


SYNOPSIS

#include <ctype.h>

int isascii(int c);


DESCRIPTION

The isascii() function tests for a 7-bit US-ASCII character.


PARAMETERS

c 

Is any integer value.


RETURN VALUES

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


CONFORMANCE

UNIX 98.


MULTITHREAD SAFETY LEVEL

MT-Safe, with exceptions.

This function is MT-Safe as long as no thread calls setlocale() while this function is executing.


PORTING ISSUES

None.


AVAILABILITY

MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

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


MKS Toolkit 9.2 Documentation Build 16.