HP C/iX Library Reference Manual (30026-90004)
Chapter 5 223
HP C/iX Library Function Descriptions
isspace
isspace
Tests whether an argument is a white-space character.
Syntax
#include <ctype.h>
int isspace (int
c
);
Parameters
c
An argument to be evaluated. The argument must be representable as an
unsigned char or the macro EOF.
Return Values
≠0 The argument passed in
c
is a white-space character.
0 The argument passed in
c
is not a white-space character.
Description
The isspace function returns a nonzero value if the argument passed in
c
is a white-space
character (white-space characters are space, form feed, newline, carriage return,
horizontal tab, and vertical tab); otherwise, the returned value is zero.
See Also
isalnum, isalpha, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isupper,
isxdigit. ANSI C 4.3.1.9, POSIX.1 8.1