- Function
Check if a given character is in the ASCII (0..127) range.
- Header
- Declaration
int __fastcall__ isascii (int c);
- Description
The function returns a value of zero if the given argument is in the range 0..127 (the range of valid ASCII characters) and a non zero value if not.
- Limits
- When compiling with
-Os
the function is actually a macro. The inline sequence generated by the macro will not work correctly for values outside the range 0..255. Note: The constantEOF
is not part of this range. The non inline function may be accessed by#undef
'ing the macro.- When compiling without
-Os
, the function is only available as fastcall function, so it may only be used in presence of a prototype.- Availability
ISO 9899
- See also
isalnum, isalpha, isblank, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit
- Example
None.