NAME

isalnum - test for an alphanumeric character

SYNOPSIS

#include "zkCtype.h"

int isalnum(int c);

DESCRIPTION

The isalnum() function tests whether c is a character of class alpha or digit in the program's current locale.

In all cases c is an int, the value of which must be 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 isalnum() function returns non-zero if c is an alphanumeric character; otherwise it returns 0.

ERRORS

No errors are defined.

PORTABILITY

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

SEE ALSO

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