HP 3000 Manuals

isprint [ HP C/iX Library Reference Manual ] MPE/iX 5.0 Documentation


HP C/iX Library Reference Manual

isprint 

Tests whether an argument is any printable character including the space
character (octal values 040 through 0176).

Syntax 

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

Parameters 

c             An argument to be evaluated.  The argument must be
              representable as an unsigned char or the macro EOF.

Return Values 

!=0           The argument passed in c is any printable character
              including the space character (octal values 040 through
              0176).

0             The argument passed in c is not any printable character.

Description 

The isprint function returns a nonzero value if the argument passed in c 
is any printable character including the space character (octal values
040 through 0176); otherwise, the returned value is zero.

See Also 

isalnum, isalpha, iscntrl, isdigit, isgraph, islower, ispunct, isspace,
isupper, isxdigit, ANSI C 4.3.1.7, POSIX.1 8.1



MPE/iX 5.0 Documentation