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