source:
trunk/sys/dietlibc/isalnum.c
@
60
Last change on this file since 60 was 1, checked in by , 8 years ago | |
---|---|
File size: 140 bytes |
Rev | Line | |
---|---|---|
[1] | 1 | #include <ctype.h> |
2 | ||
3 | int isalnum(int ch) { | |
4 | return (unsigned int)((ch | 0x20) - 'a') < 26u || | |
5 | (unsigned int)( ch - '0') < 10u; | |
6 | } |
Note: See TracBrowser
for help on using the repository browser.