isprint() ctype Macro (ctype.h) isprint() Check if a character is printable #include <ctype.h> int isprint(c) int c; isprint is a macro that tests if c is printable, i.e, if it is neither a delete nor a control character. It returns a number other than zero if c is a printable character, and zero if it is not. isprint assumes that c is an ASCII character or EOF. ***** Example ***** For an example of how to use this macro, see the entry for ctype. ***** See Also ***** ASCII, ctype COHERENT Lexicon Page 1