Back to index

glibc  2.9
aix-termios.h
Go to the documentation of this file.
00001 /* Copyright (C) 2000 Free Software Foundation, Inc.
00002    This file is part of the GNU C Library.
00003 
00004    The GNU C Library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Lesser General Public
00006    License as published by the Free Software Foundation; either
00007    version 2.1 of the License, or (at your option) any later version.
00008 
00009    The GNU C Library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Lesser General Public License for more details.
00013 
00014    You should have received a copy of the GNU Lesser General Public
00015    License along with the GNU C Library; if not, write to the Free
00016    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00017    02111-1307 USA.  */
00018 
00019 #include "aix-types.h"
00020 
00021 #define AIX_NCCS 16
00022 struct aixtermios
00023 {
00024   aixtcflag_t c_iflag;
00025   aixtcflag_t c_oflag;
00026   aixtcflag_t c_cflag;
00027   aixtcflag_t c_lflag;
00028   aixcc_t c_line;
00029   aixcc_t c_cc[AIX_NCCS];
00030   aixspeed_t c_ispeed;
00031   aixspeed_t c_ospeed;
00032 };
00033 
00034 #define AIX_VINTR    0
00035 #define AIX_VQUIT    1
00036 #define AIX_VERASE   2
00037 #define AIX_VKILL    3
00038 #define AIX_VEOF     4
00039 #define AIX_VEOL     5
00040 #define AIX_VEOL2    6
00041 #define AIX_VSTART   7
00042 #define AIX_VSTOP    8
00043 #define AIX_VSUSP    9
00044 #define AIX_VDSUSP   10
00045 #define AIX_VREPRINT 11
00046 #define AIX_VDISCRD  12
00047 #define AIX_VWERSE   13
00048 #define AIX_VLNEXT   14
00049 
00050 #define AIX_IUCLC    0x00000800
00051 #define AIX_IXANY    0x00001000
00052 #define AIX_IMAXBE   0x00010000
00053 
00054 #define AIX_OLCUC    0x00000002
00055 #define AIX_ONLCR    0x00000004
00056 #define AIX_TABDLY   0x00000c00
00057 #define AIX_TAB0     0x00000000
00058 #define AIX_TAB1     0x00000400
00059 #define AIX_TAB2     0x00000800
00060 #define AIX_TAB3     0x00000c00
00061 #define AIX_BSDLY    0x00001000
00062 #define AIX_BS0             0x00000000
00063 #define AIX_BS1             0x00001000
00064 #define AIX_FFDLY    0x00002000
00065 #define AIX_FF0             0x00000000
00066 #define AIX_FF1             0x00002000
00067 #define AIX_NLDLY    0x00004000
00068 #define AIX_NL0             0x00000000
00069 #define AIX_NL1             0x00004000
00070 #define AIX_VTDLY    0x00008000
00071 #define AIX_VT0             0x00000000
00072 #define AIX_VT1             0x00008000
00073 
00074 #define AIX_CBAUD    0x0000000f
00075 #define AIX_CSIZE    0x00000030
00076 #define AIX_CS5             0x00000000
00077 #define AIX_CS6             0x00000010
00078 #define AIX_CS7             0x00000020
00079 #define AIX_CS8             0x00000030
00080 #define AIX_CSTOPB   0x00000040
00081 #define AIX_CREAD    0x00000080
00082 #define AIX_PARENB   0x00000100
00083 #define AIX_PARODD   0x00000200
00084 #define AIX_HUPCL    0x00000400
00085 #define AIX_CLOCAL   0x00000800