isgraph

Tests for any printable character (except a space character) (function or macro)

Local Servers:nonblocking
Remote Servers:N/A
Classification:ANSI
Service:Character Manipulation

Syntax

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

Parameters

c
(IN) Specifies the character to be tested.

Return Values

This function or macro returns a nonzero value when the argument is a printable character (except a space character). Otherwise, a value of 0 is returned.

Remarks

The isgraph function or macro tests for any printable character (except a space character). The isprint function is similar, except that the space character is also included in the character set being tested.

See Also

isalnum, isalpha, iscntrl, islower, isprint, ispunct, isspace, isupper, isxdigit, tolower, toupper