gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-lib/libc/isalpha.c
1 #include <ctype.h>
2 #include <stdbool.h>
3 #include <stdint.h>
4
5 bool isalpha(char c) {
6 return ((((uint8_t)((uint8_t)c - 'a') < ('z' - 'a' + 1))) || ((uint8_t)((uint8_t)c - 'A') < ('Z' - 'A' + 1))) ? true : false;
7 }
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.