Replace FSF snail mail address with URLs.
[glibc.git] / sysdeps / unix / sysv / linux / powerpc / aix / aix-termios.h
blob112be603991eca8fdfb8269290d8d2b69afb439e
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, see
16 <http://www.gnu.org/licenses/>. */
18 #include "aix-types.h"
20 #define AIX_NCCS 16
21 struct aixtermios
23 aixtcflag_t c_iflag;
24 aixtcflag_t c_oflag;
25 aixtcflag_t c_cflag;
26 aixtcflag_t c_lflag;
27 aixcc_t c_line;
28 aixcc_t c_cc[AIX_NCCS];
29 aixspeed_t c_ispeed;
30 aixspeed_t c_ospeed;
33 #define AIX_VINTR 0
34 #define AIX_VQUIT 1
35 #define AIX_VERASE 2
36 #define AIX_VKILL 3
37 #define AIX_VEOF 4
38 #define AIX_VEOL 5
39 #define AIX_VEOL2 6
40 #define AIX_VSTART 7
41 #define AIX_VSTOP 8
42 #define AIX_VSUSP 9
43 #define AIX_VDSUSP 10
44 #define AIX_VREPRINT 11
45 #define AIX_VDISCRD 12
46 #define AIX_VWERSE 13
47 #define AIX_VLNEXT 14
49 #define AIX_IUCLC 0x00000800
50 #define AIX_IXANY 0x00001000
51 #define AIX_IMAXBE 0x00010000
53 #define AIX_OLCUC 0x00000002
54 #define AIX_ONLCR 0x00000004
55 #define AIX_TABDLY 0x00000c00
56 #define AIX_TAB0 0x00000000
57 #define AIX_TAB1 0x00000400
58 #define AIX_TAB2 0x00000800
59 #define AIX_TAB3 0x00000c00
60 #define AIX_BSDLY 0x00001000
61 #define AIX_BS0 0x00000000
62 #define AIX_BS1 0x00001000
63 #define AIX_FFDLY 0x00002000
64 #define AIX_FF0 0x00000000
65 #define AIX_FF1 0x00002000
66 #define AIX_NLDLY 0x00004000
67 #define AIX_NL0 0x00000000
68 #define AIX_NL1 0x00004000
69 #define AIX_VTDLY 0x00008000
70 #define AIX_VT0 0x00000000
71 #define AIX_VT1 0x00008000
73 #define AIX_CBAUD 0x0000000f
74 #define AIX_CSIZE 0x00000030
75 #define AIX_CS5 0x00000000
76 #define AIX_CS6 0x00000010
77 #define AIX_CS7 0x00000020
78 #define AIX_CS8 0x00000030
79 #define AIX_CSTOPB 0x00000040
80 #define AIX_CREAD 0x00000080
81 #define AIX_PARENB 0x00000100
82 #define AIX_PARODD 0x00000200
83 #define AIX_HUPCL 0x00000400
84 #define AIX_CLOCAL 0x00000800