isgraph---printable character predicates
#include <ctype.h> int isprint(int c); int isgraph(int c);
isprint is a macro which classifies ASCII integer values by table
lookup. It is a predicate returning non-zero for printable
characters, and 0 for other character arguments.
It is defined only when
isascii(c) is true or c is EOF.
You can use a compiled subroutine instead of the macro definition by
undefining either macro using `
#undef isprint' or `
isprint returns non-zero if c is a printing character,
isgraph behaves identically to
isprint, except that the space
0x20) is excluded.
isgraph are ANSI C.
No supporting OS subroutines are required.
Go to the first, previous, next, last section, table of contents.