isspace
detect whitespace character
Synopsis
#include <ctype.h>
int isspace(int c);
Description
The
function determines if the argument is a blank whitespace
isspace
character (
0x09-0x0D
line (
), carriage return (
\n
If the argument is not a blank space character,
the argument is a blank space character,
Error Conditions
The
function does not return any error conditions.
isspace
Example
#include <ctype.h>
int ch;
for (ch=0; ch<=0x7f; ch++) {
printf("%#04x", ch);
printf("%2s", isspace(ch) ? "space" : "");
putchar('\n');
}
See Also
iscntrl,
isgraph
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
or
). This includes space, form feed (
0x20
), horizontal tab (
\r
C/C++ Run-Time Library
) and vertical tab (
\t
returns a zero. If
isspace
returns a non-zero value.
isspace
), new
\f
).
\v
3-83
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers