isascii

Tests for an ASCII character in the range from 0-127.

Library:LibC
Classification:Other
Service:Characters and Strings

Syntax

  #include <ctype.h> 
   
  int isascii (
     int   c);
  

Parameters

c

(IN) Specifies the character to be tested.

Return Values

Returns a nonzero value when the character is in the range from 0 to 127. Otherwise, it returns zero.

See Also