isprint
- printing character test (space character inclusive)
LIBRARY
Lb libc
SYNOPSIS
#include <ctype.h> int
isprint (int c);
DESCRIPTION
The
isprint ();
function tests for any printing character including space
(`'
)
The value of the argument must be representable as an
Vt unsigned char
or the value of
EOF
In the ASCII character set, this includes the following characters
(with their numeric values shown in octal):
The
isprint ();
function returns zero if the character tests false and
returns non-zero if the character tests true.
COMPATIBILITY
The
BSD 4.4
extension of accepting arguments outside of the range of the
Vt unsigned char
type in locales with large character sets is considered obsolete
and may not be supported in future releases.
The
iswprint ();
function should be used instead.