iswspace

Tests for a wide-character code to determine whether it is a whitespace character.

Library:LibC
Classification:ANSI
Service:Characters and Strings

Syntax

  #include <wctype.h> 
   
  int  iswspace (
     wint_t   wc);
  

Parameters

wc

(IN) Specifies the wide-character code to test.

Return Values

Returns a nonzero value when the wc argument is one of the whitespace characters for the current locale. Otherwise, it returns zero.

Remarks

The isspace function tests for the following whitespace characters:

` ’

Space

\f

Form feed

\n

New line or line feed

\r

Carriage return

\t

Horizontal tab

\v

Vertical tab

See Also