C Programming/ctype.h/isspace

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Synopsis

[edit | edit source]
int isspace(int c);

Description

[edit | edit source]

Returns true if c is a whitespace character. In the standard C locale, these are the valid space characters:

  • Spaces
  • Horizontal tabs
  • Vertical tabs
  • Newlines
  • Formfeeds
  • Carriage returns

References

[edit | edit source]