Everything

isspace


Identification of space/tab/carriage return/line feed/vertical tab/page feed

[Classification]

Standard library

[Syntax]

#include <ctype.h>

int isspace(int c);

[Return value]

These macros return a value other than 0 if the value of argument c matches the respective description (i.e., if the result is true). If the result is false, 0 is returned.

[Description]

This function is a macro that checks whether a given character is a space, tap, line feed, carriage return, vertical tab, or form feed (0x09 to 0x0D, or 0x20). This macro is defined only when c is made true by isascii or when c is EOF. A compiled subroutine can be used instead of the macro definition, which is invalidated by using "#undef isspace".