Technical Support
On-Line Manuals
C166 User's Guide
#include <ctype.h> int isalnum ( int c); /* character to test */
The isalnum function tests c to determine if it is an alphanumeric character ('A'-'Z', 'a'-'z', or '0'-'9').
The isalnum function returns a value of 1 if c is an alphanumeric character or a value of 0 if it is not.
isalpha, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit
#include <ctype.h> #include <stdio.h> /* for printf */ void tst_isalnum (void) { unsigned char i; char *p; for (i = 0; i < 128; i++) { p = (isalnum (i) ? "YES" : "NO"); printf ("isalnum (%c) %s\n", i, p); } }
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.