NAME

isprint - test for a printing character

SYNOPSIS

#include "zkCtype.h"

int isprint(int c);

DESCRIPTION

The isprint() function tests whether c is a character of class print in the program's current locale.

In all cases c is an int, the value of which must be a character representable as an unsigned char or must equal the value of the macro EOF. If the argument has any other value, the behaviour is undefined.

RETURN VALUE

The isprint() function returns non-zero if c is a printing character; otherwise it returns 0.

ERRORS

No errors are defined.

PORTABILITY

To ensure applications portability, especially across natural languages, only this function and those listed in the SEE ALSO section should be used for character classification.

SEE ALSO

isalnum(), isalpha(), iscntrl(), isdigit(), isgraph(), islower(), ispunct(), isspace(), isupper(), isxdigit().