2.9
[glibc/nacl-glibc.git] / sysdeps / unix / sysv / linux / powerpc / aix / aix-termios.h
blob5f3e953abc840ffc99166d7cf0a5f8a46da063d3
1 /* Copyright (C) 2000 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
4 The GNU C Library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
9 The GNU C Library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
14 You should have received a copy of the GNU Lesser General Public
15 License along with the GNU C Library; if not, write to the Free
16 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
17 02111-1307 USA. */
19 #include "aix-types.h"
21 #define AIX_NCCS 16
22 struct aixtermios
24 aixtcflag_t c_iflag;
25 aixtcflag_t c_oflag;
26 aixtcflag_t c_cflag;
27 aixtcflag_t c_lflag;
28 aixcc_t c_line;
29 aixcc_t c_cc[AIX_NCCS];
30 aixspeed_t c_ispeed;
31 aixspeed_t c_ospeed;
34 #define AIX_VINTR 0
35 #define AIX_VQUIT 1
36 #define AIX_VERASE 2
37 #define AIX_VKILL 3
38 #define AIX_VEOF 4
39 #define AIX_VEOL 5
40 #define AIX_VEOL2 6
41 #define AIX_VSTART 7
42 #define AIX_VSTOP 8
43 #define AIX_VSUSP 9
44 #define AIX_VDSUSP 10
45 #define AIX_VREPRINT 11
46 #define AIX_VDISCRD 12
47 #define AIX_VWERSE 13
48 #define AIX_VLNEXT 14
50 #define AIX_IUCLC 0x00000800
51 #define AIX_IXANY 0x00001000
52 #define AIX_IMAXBE 0x00010000
54 #define AIX_OLCUC 0x00000002
55 #define AIX_ONLCR 0x00000004
56 #define AIX_TABDLY 0x00000c00
57 #define AIX_TAB0 0x00000000
58 #define AIX_TAB1 0x00000400
59 #define AIX_TAB2 0x00000800
60 #define AIX_TAB3 0x00000c00
61 #define AIX_BSDLY 0x00001000
62 #define AIX_BS0 0x00000000
63 #define AIX_BS1 0x00001000
64 #define AIX_FFDLY 0x00002000
65 #define AIX_FF0 0x00000000
66 #define AIX_FF1 0x00002000
67 #define AIX_NLDLY 0x00004000
68 #define AIX_NL0 0x00000000
69 #define AIX_NL1 0x00004000
70 #define AIX_VTDLY 0x00008000
71 #define AIX_VT0 0x00000000
72 #define AIX_VT1 0x00008000
74 #define AIX_CBAUD 0x0000000f
75 #define AIX_CSIZE 0x00000030
76 #define AIX_CS5 0x00000000
77 #define AIX_CS6 0x00000010
78 #define AIX_CS7 0x00000020
79 #define AIX_CS8 0x00000030
80 #define AIX_CSTOPB 0x00000040
81 #define AIX_CREAD 0x00000080
82 #define AIX_PARENB 0x00000100
83 #define AIX_PARODD 0x00000200
84 #define AIX_HUPCL 0x00000400
85 #define AIX_CLOCAL 0x00000800