isalnum
detect alphanumeric character
Synopsis
#include <ctype.h>
int isalnum(int c);
Description
The
function determines if the argument is an alphanumeric
isalnum
character (
A-Z, a-z
returns a zero. If the argument is alphanumeric,
isalnum
non-zero value.
Error Conditions
The
function does not return any error conditions.
isalnum
Example
#include <ctype.h>
int ch;
for (ch=0; ch<=0x7f; ch++) {
printf("%#04x", ch);
printf("%3s", isalnum(ch) ? "alphanumeric" : "");
putchar('\n');
}
See Also
isalpha,
isdigit
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
, or
). If the argument is not alphanumeric,
0-9
C/C++ Run-Time Library
isalnum
returns a
3-71
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers