Table of Contents
Previous Section Next Section

isprint

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

The isprint( ) function returns nonzero if ch is a printable character, including a space; otherwise, zero is returned. In ASCII environments, printable characters are in the range 0x20 through 0x7E.

Related functions are isalnum( ), isalpha( ), iscntrl( ), isdigit( ), isgraph( ), ispunct( ), and isspace( ).


Table of Contents
Previous Section Next Section