isprint

Tests for a printable character, including the space character.

Library:LibC
Classification:ANSI
Service:Characters and Strings

Syntax

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

Parameters

c

(IN) Specifies the character to be tested.

Return Values

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

See Also