COHERENT manpages

This page displays the COHERENT manpage for isprint() [Check if a character is printable].

List of available manpages
Index


isprint() -- ctype Function (libc)

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.h.

See Also

ASCII,
libc
ANSI Standard, §7.3.1.7
POSIX Standard, §8.1