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