Synopsis
#include <ctype.h>
int isspace(int c);
Description

isspace returns nonzero (true) if and only if the value of the argument c is a standard white-space character. The standard white-space characters are space (' '), form feed ('\f'), new-line ('\n'), carriage return ('\r'), horizontal tab ('\t'), and vertical tab ('\v').

Portability

isspace conforms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).

See also

isblank