]>
Commit | Line | Data |
---|---|---|
7b832018 | 1 | /* termios output mode definitions. Linux/powerpc version. |
d614a753 | 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. |
7b832018 AZ |
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 | |
5a82c748 | 17 | <https://www.gnu.org/licenses/>. */ |
7b832018 AZ |
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 0000001 | |
25 | #define ONLCR 0000002 | |
26 | #define OLCUC 0000004 | |
27 | ||
28 | #define OCRNL 0000010 | |
29 | #define ONOCR 0000020 | |
30 | #define ONLRET 0000040 | |
31 | ||
32 | #define OFILL 00000100 | |
33 | #define OFDEL 00000200 | |
34 | #if defined __USE_MISC || defined __USE_XOPEN | |
35 | # define NLDLY 00001400 | |
36 | # define NL0 00000000 | |
37 | # define NL1 00000400 | |
38 | # if defined __USE_MISC | |
39 | # define NL2 00001000 | |
40 | # define NL3 00001400 | |
41 | # endif | |
42 | # define TABDLY 00006000 | |
43 | # define TAB0 00000000 | |
44 | # define TAB1 00002000 | |
45 | # define TAB2 00004000 | |
46 | # define TAB3 00006000 | |
47 | # define CRDLY 00030000 | |
48 | # define CR0 00000000 | |
49 | # define CR1 00010000 | |
50 | # define CR2 00020000 | |
51 | # define CR3 00030000 | |
52 | # define FFDLY 00040000 | |
53 | # define FF0 00000000 | |
54 | # define FF1 00040000 | |
55 | # define BSDLY 00100000 | |
56 | # define BS0 00000000 | |
57 | # define BS1 00100000 | |
58 | #endif | |
59 | #define VTDLY 00200000 | |
60 | #define VT0 00000000 | |
61 | #define VT1 00200000 | |
62 | ||
63 | #ifdef __USE_MISC | |
64 | # define XTABS 00006000 | |
65 | #endif |