- Function
Check if a given character is a printable character but not a space or an alphanumeric character.
- Header
- Declaration
int __fastcall__ ispunct (int c);- Description
The function returns a value of zero if the given argument is a printable character, but not a space or anything alphanumeric. The return value is non zero if the character is anything else.
- Limits
- When compiling with
-Osthe 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 constantEOFis 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, isascii, isblank, iscntrl, isdigit, isgraph, islower, isprint, isspace, isupper, isxdigit
- Example
None.