Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
isascii - test for 7-bit ASCII character
&pagelevel(4)&pagelevel
Syntax | #include <ctype.h> int isascii (int c); |
Description | isascii() tests whether c is less than 128. (The US-ASCII codeset is defined for values from 0 through 127).
isascii() is defined on all integer values.
BS2000 isascii() is a synonym for isebcdic() . isascii() tests whether the value of the character c represents an EBCDIC character (values 0 - 255). (End)
|
Return val. | != 0
| The value of c lies between 0 and 127 (ASCII character). |
| 0 | Not an ASCII character (values != 0 - 127). |
| BS2000 |
|
| != 0
| The value of c lies between 0 and 255 (EBCDIC character). |
| 0 | Not an EBCDIC character (values != 0 - 255). (End) |
Notes | isascii() is implemented both as a function and as a macro. To generate a function call, the definition of the macro name must be first undefined (#undef isascii ).
|
See also | isalnum() , isalpha() , iscntrl() , isdigit() , isgraph() , islower() , isprint() , ispunct() , isspace() , isupper() , isxdigit() , ctype.h , ascii_to_ebcdic() , ebcdic_to_ascii() .
|