xref: /titanic_51/usr/src/uts/common/sys/ascii.h (revision c8e880c1386b032ac975c61826ba3bc0d8dce5ac)
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 #pragma ident	"%Z%%M%	%I%	%E% SMI"
31 
32 #ifdef	__cplusplus
33 extern "C" {
34 #endif
35 
36 #define	A_NUL	0
37 #define	A_SOH	1
38 #define	A_STX	2
39 #define	A_ETX	3
40 #define	A_EOT	4
41 #define	A_ENQ	5
42 #define	A_ACK	6
43 #define	A_BEL	7
44 #define	A_BS	8
45 #define	A_HT	9
46 #define	A_NL	10
47 #define	A_LF	10
48 #define	A_VT	11
49 #define	A_FF	12
50 #define	A_NP	12
51 #define	A_CR	13
52 #define	A_SO	14
53 #define	A_SI	15
54 #define	A_DLE	16
55 #define	A_DC1	17
56 #define	A_DC2	18
57 #define	A_DC3	19
58 #define	A_DC4	20
59 #define	A_NAK	21
60 #define	A_SYN	22
61 #define	A_ETB	23
62 #define	A_CAN	24
63 #define	A_EM	25
64 #define	A_SUB	26
65 #define	A_ESC	27
66 #define	A_FS	28
67 #define	A_GS	29
68 #define	A_RS	30
69 #define	A_US	31
70 #define	A_DEL	127
71 #define	A_CSI	0x9b
72 
73 #ifdef	__cplusplus
74 }
75 #endif
76 
77 #endif /* _SYS_ASCII_H */
78