isgraph

Tests for any printable character (except a space character).

Library:LibC
Classification:ANSI
Service:Characters and Strings

Syntax

  #include <ctype.h> 
   
  int isgraph (
     int   c);
  

Parameters

c

(IN) Specifies the character to be tested.

Return Values

Returns a nonzero value when the argument is a printable character (except a space character). Otherwise, it returns zero.

Remarks

The isgraph function is similar to isprint, except that the space character is not included in the character set that is being tested.

See Also