gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-lib/libc/isdigit.c
1 #include <ctype.h>
2 #include <stdbool.h>
3 #include <stdint.h>
4
5 bool isdigit(char c) {
6 return ((uint8_t)((uint8_t)c - '0') < 10u) ? 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.