I am using gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
The man page for isalnum() says:
SYNOPSIS
#include <ctype.h>
int isalnum(int c);
However, it also says:
These functions check whether c, which must have the value of an unsigned char or EOF, ...
I have found that isalnum() will blow up for very large positive (or negative) int values (but it handles all short int values).
Is the man page saying the int passed in must have a value of an unsigned char because the C library writers are reserving the right to implement isalnum() in a way that will not handle all int values without blowing up?