C Run-Time Library Reference
ispunct
detect punctuation character
Synopsis
#include <ctype.h>
int ispunct(int c);
Description
The
function determines if the argument is a punctuation charac-
ispunct
ter. If the argument is not a punctuation character,
If the argument is a punctuation character,
value.
Error Conditions
The
function does not return any error conditions.
ispunct
Example
#include <ctype.h>
int ch;
for (ch=0; ch<=0x7f; ch++) {
printf("%#04x", ch);
printf("%3s", ispunct(ch) ? "punctuation" : "");
putchar('\n');
}
See Also
isalnum
3-82
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
returns a zero.
ispunct
returns a non-zero
ispunct
for ADSP-219x DSPs
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?