blob: be31080c3efcc6e8594d5d74f4c2ec8189b04396 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
/***************************************************************
__MPU_CHAR.H
This is config file for characters operations .
PART OF : MPU - library .
USAGE : Internal only .
NOTE : Include "libmpu.h" before this FILE .
Copyright (C) 2000 - 2024 by Andrew V.Kosteltsev.
All Rights Reserved.
***************************************************************/
#ifndef __MPU_CHAR_H
#define __MPU_CHAR_H
/*** character names *****************************************/
#define NUL '\0' /* the null character */
#define NEWLINE '\n' /* line feed */
#define SP ' ' /* space */
#define BELL '\a' /* bell (alert) */
#define BS '\b' /* backspace */
#define HT '\t' /* horizontal tab */
#define VT '\013' /* vertical tab */
#define CR '\r' /* carriage return */
#define FF '\f' /* form feed */
#define QUOTE '\'' /* single quote */
#define DOUBLE_QUOTE '\"' /* double quote */
#define BACKSLASH '\\' /* backslash */
#define SLASH '/' /* slash */
#define DOLLAR '$' /* dollar sign */
/*** duplicate character names *******************************/
/*** Define results of standard character escape sequences. **/
#define TARGET_NEWLINE 012 /* line feed */
#define TARGET_BELL 007 /* bell (alert) */
#define TARGET_BS 010 /* backspace */
#define TARGET_TAB 011 /* horizontal tab */
#define TARGET_VT 013 /* vertical tab */
#define TARGET_CR 015 /* carriage return */
#define TARGET_FF 014 /* form feed */
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
} /* ... extern "C" */
#endif
#endif /* __MPU_CHAR_H */
|