PatchworkOS
Loading...
Searching...
No Matches
ascii_table.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
19typedef struct
20{
22 unsigned char upper;
23 unsigned char lower;
25
_ascii_flags_t
Definition ascii_table.h:6
@ _ASCII_XDIGIT
Definition ascii_table.h:9
@ _ASCII_SPACE
Definition ascii_table.h:14
@ _ASCII_GRAPH
Definition ascii_table.h:12
@ _ASCII_ALPHA
Definition ascii_table.h:7
@ _ASCII_CNTRL
Definition ascii_table.h:11
@ _ASCII_DIGIT
Definition ascii_table.h:8
@ _ASCII_BLANK
Definition ascii_table.h:10
@ _ASCII_LOWER
Definition ascii_table.h:15
@ _ASCII_UPPER
Definition ascii_table.h:16
@ _ASCII_PUNCT
Definition ascii_table.h:13
_ascii_entry_t _ascii_table[]
Definition ascii_table.c:5
Definition ascii_table.h:20
unsigned char lower
Definition ascii_table.h:23
unsigned char upper
Definition ascii_table.h:22
_ascii_flags_t flags
Definition ascii_table.h:21