Back to index

glibc  2.9
Classes | Defines | Typedefs
termios.h File Reference

Go to the source code of this file.

Classes

struct  termios

Defines

#define NCCS   32
#define _HAVE_STRUCT_TERMIOS_C_ISPEED   1
#define _HAVE_STRUCT_TERMIOS_C_OSPEED   1
#define VEOF   0
#define VEOL   1
#define VEOL2   2
#define VERASE   3
#define VWERASE   4
#define VKILL   5
#define VREPRINT   6
#define VSWTC   7
#define VINTR   8
#define VQUIT   9
#define VSUSP   10
#define VSTART   12
#define VSTOP   13
#define VLNEXT   14
#define VDISCARD   15
#define VMIN   16
#define VTIME   17
#define IGNBRK   0000001
#define BRKINT   0000002
#define IGNPAR   0000004
#define PARMRK   0000010
#define INPCK   0000020
#define ISTRIP   0000040
#define INLCR   0000100
#define IGNCR   0000200
#define ICRNL   0000400
#define IXON   0001000
#define IXOFF   0002000
#define OPOST   0000001
#define ONLCR   0000002
#define OLCUC   0000004
#define OCRNL   0000010
#define ONOCR   0000020
#define ONLRET   0000040
#define OFILL   00000100
#define OFDEL   00000200
#define VTDLY   00200000
#define VT0   00000000
#define VT1   00200000
#define B0   0000000 /* hang up */
#define B50   0000001
#define B75   0000002
#define B110   0000003
#define B134   0000004
#define B150   0000005
#define B200   0000006
#define B300   0000007
#define B600   0000010
#define B1200   0000011
#define B1800   0000012
#define B2400   0000013
#define B4800   0000014
#define B9600   0000015
#define B19200   0000016
#define B38400   0000017
#define B57600   00020
#define B115200   00021
#define B230400   00022
#define B460800   00023
#define B500000   00024
#define B576000   00025
#define B921600   00026
#define B1000000   00027
#define B1152000   00030
#define B1500000   00031
#define B2000000   00032
#define B2500000   00033
#define B3000000   00034
#define B3500000   00035
#define B4000000   00036
#define __MAX_BAUD   B4000000
#define CSIZE   00001400
#define CS5   00000000
#define CS6   00000400
#define CS7   00001000
#define CS8   00001400
#define CSTOPB   00002000
#define CREAD   00004000
#define PARENB   00010000
#define PARODD   00020000
#define HUPCL   00040000
#define CLOCAL   00100000
#define ISIG   0x00000080
#define ICANON   0x00000100
#define ECHO   0x00000008
#define ECHOE   0x00000002
#define ECHOK   0x00000004
#define ECHONL   0x00000010
#define NOFLSH   0x80000000
#define TOSTOP   0x00400000
#define IEXTEN   0x00000400
#define TCOOFF   0
#define TCOON   1
#define TCIOFF   2
#define TCION   3
#define TCIFLUSH   0
#define TCOFLUSH   1
#define TCIOFLUSH   2
#define TCSANOW   0
#define TCSADRAIN   1
#define TCSAFLUSH   2
#define _IOT_termios

Typedefs

typedef unsigned char cc_t
typedef unsigned int speed_t
typedef unsigned int tcflag_t

Class Documentation

struct termios

Definition at line 112 of file termios.h.

Class Members
speed_t __ispeed
speed_t __ospeed
cc_t c_cc
tcflag_t c_cflag
tcflag_t c_iflag
speed_t c_ispeed
tcflag_t c_lflag
cc_t c_line
char c_line
tcflag_t c_oflag
speed_t c_ospeed

Define Documentation

#define __MAX_BAUD   B4000000

Definition at line 167 of file termios.h.

Definition at line 40 of file termios.h.

Definition at line 41 of file termios.h.

#define _IOT_termios
Value:
/* Hurd ioctl type field.  */ \
  _IOT (_IOTS (cflag_t), 4, _IOTS (cc_t), NCCS, _IOTS (speed_t), 2)

Definition at line 225 of file termios.h.

#define B0   0000000 /* hang up */

Definition at line 130 of file termios.h.

#define B1000000   00027

Definition at line 158 of file termios.h.

#define B110   0000003

Definition at line 133 of file termios.h.

#define B115200   00021

Definition at line 152 of file termios.h.

#define B1152000   00030

Definition at line 159 of file termios.h.

#define B1200   0000011

Definition at line 139 of file termios.h.

#define B134   0000004

Definition at line 134 of file termios.h.

#define B150   0000005

Definition at line 135 of file termios.h.

#define B1500000   00031

Definition at line 160 of file termios.h.

#define B1800   0000012

Definition at line 140 of file termios.h.

#define B19200   0000016

Definition at line 144 of file termios.h.

#define B200   0000006

Definition at line 136 of file termios.h.

#define B2000000   00032

Definition at line 161 of file termios.h.

#define B230400   00022

Definition at line 153 of file termios.h.

#define B2400   0000013

Definition at line 141 of file termios.h.

#define B2500000   00033

Definition at line 162 of file termios.h.

#define B300   0000007

Definition at line 137 of file termios.h.

#define B3000000   00034

Definition at line 163 of file termios.h.

#define B3500000   00035

Definition at line 164 of file termios.h.

#define B38400   0000017

Definition at line 145 of file termios.h.

#define B4000000   00036

Definition at line 165 of file termios.h.

#define B460800   00023

Definition at line 154 of file termios.h.

#define B4800   0000014

Definition at line 142 of file termios.h.

#define B50   0000001

Definition at line 131 of file termios.h.

#define B500000   00024

Definition at line 155 of file termios.h.

#define B57600   00020

Definition at line 151 of file termios.h.

#define B576000   00025

Definition at line 156 of file termios.h.

#define B600   0000010

Definition at line 138 of file termios.h.

#define B75   0000002

Definition at line 132 of file termios.h.

#define B921600   00026

Definition at line 157 of file termios.h.

#define B9600   0000015

Definition at line 143 of file termios.h.

#define BRKINT   0000002

Definition at line 65 of file termios.h.

#define CLOCAL   00100000

Definition at line 181 of file termios.h.

#define CREAD   00004000

Definition at line 176 of file termios.h.

#define CS5   00000000

Definition at line 170 of file termios.h.

#define CS6   00000400

Definition at line 171 of file termios.h.

#define CS7   00001000

Definition at line 172 of file termios.h.

#define CS8   00001400

Definition at line 173 of file termios.h.

#define CSIZE   00001400

Definition at line 169 of file termios.h.

#define CSTOPB   00002000

Definition at line 175 of file termios.h.

#define ECHO   0x00000008

Definition at line 193 of file termios.h.

#define ECHOE   0x00000002

Definition at line 194 of file termios.h.

#define ECHOK   0x00000004

Definition at line 195 of file termios.h.

#define ECHONL   0x00000010

Definition at line 196 of file termios.h.

#define HUPCL   00040000

Definition at line 179 of file termios.h.

#define ICANON   0x00000100

Definition at line 189 of file termios.h.

#define ICRNL   0000400

Definition at line 72 of file termios.h.

#define IEXTEN   0x00000400

Definition at line 206 of file termios.h.

#define IGNBRK   0000001

Definition at line 64 of file termios.h.

#define IGNCR   0000200

Definition at line 71 of file termios.h.

#define IGNPAR   0000004

Definition at line 66 of file termios.h.

#define INLCR   0000100

Definition at line 70 of file termios.h.

#define INPCK   0000020

Definition at line 68 of file termios.h.

#define ISIG   0x00000080

Definition at line 188 of file termios.h.

#define ISTRIP   0000040

Definition at line 69 of file termios.h.

#define IXOFF   0002000

Definition at line 74 of file termios.h.

#define IXON   0001000

Definition at line 73 of file termios.h.

#define NCCS   32

Definition at line 29 of file termios.h.

#define NOFLSH   0x80000000

Definition at line 197 of file termios.h.

#define OCRNL   0000010

Definition at line 88 of file termios.h.

#define OFDEL   00000200

Definition at line 93 of file termios.h.

#define OFILL   00000100

Definition at line 92 of file termios.h.

#define OLCUC   0000004

Definition at line 86 of file termios.h.

#define ONLCR   0000002

Definition at line 85 of file termios.h.

#define ONLRET   0000040

Definition at line 90 of file termios.h.

#define ONOCR   0000020

Definition at line 89 of file termios.h.

#define OPOST   0000001

Definition at line 84 of file termios.h.

#define PARENB   00010000

Definition at line 177 of file termios.h.

#define PARMRK   0000010

Definition at line 67 of file termios.h.

#define PARODD   00020000

Definition at line 178 of file termios.h.

#define TCIFLUSH   0

Definition at line 215 of file termios.h.

#define TCIOFF   2

Definition at line 211 of file termios.h.

#define TCIOFLUSH   2

Definition at line 217 of file termios.h.

#define TCION   3

Definition at line 212 of file termios.h.

#define TCOFLUSH   1

Definition at line 216 of file termios.h.

#define TCOOFF   0

Definition at line 209 of file termios.h.

#define TCOON   1

Definition at line 210 of file termios.h.

#define TCSADRAIN   1

Definition at line 221 of file termios.h.

#define TCSAFLUSH   2

Definition at line 222 of file termios.h.

#define TCSANOW   0

Definition at line 220 of file termios.h.

#define TOSTOP   0x00400000

Definition at line 198 of file termios.h.

#define VDISCARD   15

Definition at line 59 of file termios.h.

#define VEOF   0

Definition at line 45 of file termios.h.

#define VEOL   1

Definition at line 46 of file termios.h.

#define VEOL2   2

Definition at line 47 of file termios.h.

#define VERASE   3

Definition at line 48 of file termios.h.

#define VINTR   8

Definition at line 53 of file termios.h.

#define VKILL   5

Definition at line 50 of file termios.h.

#define VLNEXT   14

Definition at line 58 of file termios.h.

#define VMIN   16

Definition at line 60 of file termios.h.

#define VQUIT   9

Definition at line 54 of file termios.h.

#define VREPRINT   6

Definition at line 51 of file termios.h.

#define VSTART   12

Definition at line 56 of file termios.h.

#define VSTOP   13

Definition at line 57 of file termios.h.

#define VSUSP   10

Definition at line 55 of file termios.h.

#define VSWTC   7

Definition at line 52 of file termios.h.

#define VT0   00000000

Definition at line 119 of file termios.h.

#define VT1   00200000

Definition at line 120 of file termios.h.

#define VTDLY   00200000

Definition at line 118 of file termios.h.

#define VTIME   17

Definition at line 61 of file termios.h.

#define VWERASE   4

Definition at line 49 of file termios.h.


Typedef Documentation

typedef unsigned char cc_t

Definition at line 25 of file termios.h.

typedef unsigned int speed_t

Definition at line 26 of file termios.h.

typedef unsigned int tcflag_t

Definition at line 27 of file termios.h.