xref: /illumos-gate/usr/src/uts/common/sys/ascii.h (revision b4203d75)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*	Copyright (c) 1990, 1991 UNIX System Laboratories, Inc.	*/
23 
24 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T	*/
25 /*	  All Rights Reserved	*/
26 
27 #ifndef _SYS_ASCII_H
28 #define	_SYS_ASCII_H
29 
30 #ifdef	__cplusplus
31 extern "C" {
32 #endif
33 
34 #define	A_NUL	0
35 #define	A_SOH	1
36 #define	A_STX	2
37 #define	A_ETX	3
38 #define	A_EOT	4
39 #define	A_ENQ	5
40 #define	A_ACK	6
41 #define	A_BEL	7
42 #define	A_BS	8
43 #define	A_HT	9
44 #define	A_NL	10
45 #define	A_LF	10
46 #define	A_VT	11
47 #define	A_FF	12
48 #define	A_NP	12
49 #define	A_CR	13
50 #define	A_SO	14
51 #define	A_SI	15
52 #define	A_DLE	16
53 #define	A_DC1	17
54 #define	A_DC2	18
55 #define	A_DC3	19
56 #define	A_DC4	20
57 #define	A_NAK	21
58 #define	A_SYN	22
59 #define	A_ETB	23
60 #define	A_CAN	24
61 #define	A_EM	25
62 #define	A_SUB	26
63 #define	A_ESC	27
64 #define	A_FS	28
65 #define	A_GS	29
66 #define	A_RS	30
67 #define	A_US	31
68 #define	A_DEL	127
69 #define	A_CSI	0x9b
70 
71 #ifdef	__cplusplus
72 }
73 #endif
74 
75 #endif /* _SYS_ASCII_H */
76