LabWindows/CVI

Content Type
Programming Language
Current manual

isspace

isspace

int isspace (int testCharacter);

Purpose

Tests to see if a character is one of the standard whitespace characters. The input to this function must be a character with integer value between 0 and 255.

Parameters

Input
Name Type Description
testCharacter int Contains the character to be tested. The input must be a character with integer value between 0 and 255.

Return Value

Name Type Description
testResult int Contains the returned result of the test. The function returns a nonzero (true) integer value if the character being tested is a standard whitespace character. The standard whitespace characters are as follows:
  • space (" ")
  • newline ("\n")
  • horizontal tab ("\t")
  • formfeed ("\f")
  • carriage return ("\r")
  • vertical tab ("\v")

Additional Information

Library: ANSI C Library

Include file: ansi_c.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

Example

Refer to analysis\stabilty.cws for an example of using the isspace function.

Was this information helpful?