]>
Commit | Line | Data |
---|---|---|
7b832018 AZ |
1 | /* termios output mode definitions. Linux/sparc version. |
2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
3 | This file is part of the GNU C Library. | |
4 | ||
5 | The GNU C Library is free software; you can redistribute it and/or | |
6 | modify it under the terms of the GNU Lesser General Public | |
7 | License as published by the Free Software Foundation; either | |
8 | version 2.1 of the License, or (at your option) any later version. | |
9 | ||
10 | The GNU C Library is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | Lesser General Public License for more details. | |
14 | ||
15 | You should have received a copy of the GNU Lesser General Public | |
16 | License along with the GNU C Library. If not, see | |
17 | <http://www.gnu.org/licenses/>. */ | |
18 | ||
19 | #ifndef _TERMIOS_H | |
20 | # error "Never include <bits/termios-c_oflag.h> directly; use <termios.h> instead." | |
21 | #endif | |
22 | ||
23 | /* c_oflag bits */ | |
24 | #define OPOST 0x00000001 | |
25 | #define OLCUC 0x00000002 | |
26 | #define ONLCR 0x00000004 | |
27 | #define OCRNL 0x00000008 | |
28 | #define ONOCR 0x00000010 | |
29 | #define ONLRET 0x00000020 | |
30 | #define OFILL 0x00000040 | |
31 | #define OFDEL 0x00000080 | |
32 | #if defined __USE_MISC || defined __USE_XOPEN | |
33 | # define NLDLY 0x00000100 | |
34 | # define NL0 0x00000000 | |
35 | # define NL1 0x00000100 | |
36 | # define CRDLY 0x00000600 | |
37 | # define CR0 0x00000000 | |
38 | # define CR1 0x00000200 | |
39 | # define CR2 0x00000400 | |
40 | # define CR3 0x00000600 | |
41 | # define TABDLY 0x00001800 | |
42 | # define TAB0 0x00000000 | |
43 | # define TAB1 0x00000800 | |
44 | # define TAB2 0x00001000 | |
45 | # define TAB3 0x00001800 | |
46 | # define BSDLY 0x00002000 | |
47 | # define BS0 0x00000000 | |
48 | # define BS1 0x00002000 | |
49 | #define FFDLY 0x00008000 | |
50 | #define FF0 0x00000000 | |
51 | #define FF1 0x00008000 | |
52 | #endif | |
53 | #define VTDLY 0x00004000 | |
54 | #define VT0 0x00000000 | |
55 | #define VT1 0x00004000 | |
56 | ||
57 | # if defined __USE_GNU | |
58 | #define PAGEOUT 0x00010000 /* SUNOS specific */ | |
59 | #define WRAP 0x00020000 /* SUNOS specific */ | |
60 | # endif | |
61 | ||
62 | #ifdef __USE_MISC | |
63 | # define XTABS 0x00001800 | |
64 | #endif |