Module ctype
Character classification and conversion (C89–C23) Functions are locale-aware (delegate to the current C locale). SafeC idiomatic names: char_is_(c) and char_to_(c).
Functions
| char_is_alpha | |
| char_is_digit | Is c a decimal digit (0-9)? |
| char_is_alnum | Is c a letter or decimal digit? |
| char_is_xdigit | Is c a hexadecimal digit (0-9, a-f, A-F)? |
| char_is_space | Is c a whitespace character (space, tab, newline, CR, FF, VT)? |
| char_is_blank | Is c a blank character (space or horizontal tab only)? |
| char_is_print | Is c a printable character (including space)? |
| char_is_graph | Is c a printable character excluding space (has visible glyph)? |
| char_is_punct | Is c a punctuation character (graphical but not alphanumeric)? |
| char_is_ctrl | Is c a control character (value < 32 or == 127 in ASCII)? |
| char_is_upper | Is c an uppercase letter? |
| char_is_lower | Is c a lowercase letter? |
| char_to_lower | Return the lowercase version of c (unchanged if not uppercase). |
| char_to_upper | Return the uppercase version of c (unchanged if not lowercase). |