PatchworkOS  19e446b
A non-POSIX operating system.
Loading...
Searching...
No Matches
ascii.h
Go to the documentation of this file.
1#pragma once
2
3#include <stdint.h>
4
5typedef enum
6{
7 _ASCII_ALPHA = (1 << 0),
8 _ASCII_DIGIT = (1 << 1),
9 _ASCII_XDIGIT = (1 << 2),
10 _ASCII_BLANK = (1 << 3),
11 _ASCII_CNTRL = (1 << 4),
12 _ASCII_GRAPH = (1 << 5),
13 _ASCII_PUNCT = (1 << 6),
14 _ASCII_SPACE = (1 << 7),
15 _ASCII_LOWER = (1 << 8),
16 _ASCII_UPPER = (1 << 9),
18
26
_ascii_flags_t
Definition ascii.h:6
@ _ASCII_XDIGIT
Definition ascii.h:9
@ _ASCII_SPACE
Definition ascii.h:14
@ _ASCII_GRAPH
Definition ascii.h:12
@ _ASCII_ALPHA
Definition ascii.h:7
@ _ASCII_CNTRL
Definition ascii.h:11
@ _ASCII_DIGIT
Definition ascii.h:8
@ _ASCII_BLANK
Definition ascii.h:10
@ _ASCII_LOWER
Definition ascii.h:15
@ _ASCII_UPPER
Definition ascii.h:16
@ _ASCII_PUNCT
Definition ascii.h:13
_ascii_entry_t _asciiTable[]
Definition ascii_table.c:4
__UINT8_TYPE__ uint8_t
Definition stdint.h:11
Definition ascii.h:20
uint8_t lower
Definition ascii.h:23
uint8_t digit
Definition ascii.h:24
uint8_t upper
Definition ascii.h:22
_ascii_flags_t flags
Definition ascii.h:21