Back to index

glibc  2.9
Classes | Defines | Typedefs
termios.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  termios
struct  sgttyb
struct  tchars
struct  ltchars
struct  winsize
struct  termio

Defines

#define NCCS   32
#define _HAVE_STRUCT_TERMIOS_C_ISPEED   1
#define _HAVE_STRUCT_TERMIOS_C_OSPEED   1
#define VINTR   0
#define VQUIT   1
#define VERASE   2
#define VKILL   3
#define VEOF   4
#define VMIN   5
#define VEOL   6
#define VTIME   7
#define VEOL2   8
#define VSWTC   9
#define VWERASE   10
#define VREPRINT   11
#define VSUSP   12
#define VSTART   13
#define VSTOP   14
#define VLNEXT   15
#define VDISCARD   16
#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 IXANY   0004000
#define IUCLC   0010000
#define IMAXBEL   0020000
#define IUTF8   0040000
#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 TIOCPKT_DATA   0
#define TIOCPKT_FLUSHREAD   1
#define TIOCPKT_FLUSHWRITE   2
#define TIOCPKT_STOP   4
#define TIOCPKT_START   8
#define TIOCPKT_NOSTOP   16
#define TIOCPKT_DOSTOP   32
#define NCC   10
#define _VINTR   0
#define _VQUIT   1
#define _VERASE   2
#define _VKILL   3
#define _VEOF   4
#define _VMIN   5
#define _VEOL   6
#define _VTIME   7
#define _VEOL2   8
#define _VSWTC   9
#define TIOCM_LE   0x001
#define TIOCM_DTR   0x002
#define TIOCM_RTS   0x004
#define TIOCM_ST   0x008
#define TIOCM_SR   0x010
#define TIOCM_CTS   0x020
#define TIOCM_CAR   0x040
#define TIOCM_RNG   0x080
#define TIOCM_DSR   0x100
#define TIOCM_CD   TIOCM_CAR
#define TIOCM_RI   TIOCM_RNG
#define TIOCSER_TEMT   0x01 /* Transmitter physically empty */
#define N_TTY   0
#define N_SLIP   1
#define N_MOUSE   2
#define N_PPP   3
#define N_STRIP   4
#define N_AX25   5
#define N_X25   6 /* X.25 async */
#define N_6PACK   7
#define N_MASC   8 /* Mobitex module */
#define N_R3964   9 /* Simatic R3964 module */
#define N_PROFIBUS_FDL   10 /* Profibus */
#define N_IRDA   11 /* Linux IR */
#define N_SMSBLOCK   12 /* SMS block mode */
#define N_HDLC   13 /* synchronous HDLC */
#define N_SYNC_PPP   14 /* synchronous PPP */
#define N_HCI   15 /* Bluetooth HCI UART */

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
struct sgttyb

Definition at line 57 of file ioctl-types.h.

Class Members
char sg_erase
short int sg_flags
short sg_flags
char sg_ispeed
char sg_kill
char sg_ospeed
struct tchars

Definition at line 231 of file termios.h.

Class Members
char t_brkc
char t_eofc
char t_intrc
char t_quitc
char t_startc
char t_stopc
struct ltchars

Definition at line 240 of file termios.h.

Class Members
char t_dsuspc
char t_flushc
char t_lnextc
char t_rprntc
char t_suspc
char t_werasc
struct winsize

Definition at line 61 of file ioctl-types.h.

Class Members
unsigned short int ws_col
unsigned short ws_col
unsigned short int ws_row
unsigned short ws_row
unsigned short int ws_xpixel
unsigned short ws_xpixel
unsigned short int ws_ypixel
unsigned short ws_ypixel
struct termio

Definition at line 70 of file ioctl-types.h.

Class Members
unsigned char c_cc
unsigned short int c_cflag
unsigned short c_cflag
unsigned short int c_iflag
unsigned short c_iflag
unsigned short int c_lflag
unsigned short c_lflag
unsigned char c_line
char c_line
unsigned short int c_oflag
unsigned short c_oflag

Define Documentation

#define __MAX_BAUD   B4000000

Definition at line 166 of file termios.h.

Definition at line 43 of file termios.h.

Definition at line 44 of file termios.h.

#define _VEOF   4

Definition at line 280 of file termios.h.

#define _VEOL   6

Definition at line 282 of file termios.h.

#define _VEOL2   8

Definition at line 284 of file termios.h.

#define _VERASE   2

Definition at line 278 of file termios.h.

#define _VINTR   0

Definition at line 276 of file termios.h.

#define _VKILL   3

Definition at line 279 of file termios.h.

#define _VMIN   5

Definition at line 281 of file termios.h.

#define _VQUIT   1

Definition at line 277 of file termios.h.

#define _VSWTC   9

Definition at line 285 of file termios.h.

#define _VTIME   7

Definition at line 283 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 69 of file termios.h.

#define CLOCAL   00100000

Definition at line 180 of file termios.h.

#define CREAD   00004000

Definition at line 175 of file termios.h.

#define CS5   00000000

Definition at line 169 of file termios.h.

#define CS6   00000400

Definition at line 170 of file termios.h.

#define CS7   00001000

Definition at line 171 of file termios.h.

#define CS8   00001400

Definition at line 172 of file termios.h.

#define CSIZE   00001400

Definition at line 168 of file termios.h.

#define CSTOPB   00002000

Definition at line 174 of file termios.h.

#define ECHO   0x00000008

Definition at line 192 of file termios.h.

#define ECHOE   0x00000002

Definition at line 193 of file termios.h.

#define ECHOK   0x00000004

Definition at line 194 of file termios.h.

#define ECHONL   0x00000010

Definition at line 195 of file termios.h.

#define HUPCL   00040000

Definition at line 178 of file termios.h.

#define ICANON   0x00000100

Definition at line 188 of file termios.h.

#define ICRNL   0000400

Definition at line 76 of file termios.h.

#define IEXTEN   0x00000400

Definition at line 205 of file termios.h.

#define IGNBRK   0000001

Definition at line 68 of file termios.h.

#define IGNCR   0000200

Definition at line 75 of file termios.h.

#define IGNPAR   0000004

Definition at line 70 of file termios.h.

#define IMAXBEL   0020000

Definition at line 81 of file termios.h.

#define INLCR   0000100

Definition at line 74 of file termios.h.

#define INPCK   0000020

Definition at line 72 of file termios.h.

#define ISIG   0x00000080

Definition at line 187 of file termios.h.

#define ISTRIP   0000040

Definition at line 73 of file termios.h.

#define IUCLC   0010000

Definition at line 80 of file termios.h.

#define IUTF8   0040000

Definition at line 82 of file termios.h.

#define IXANY   0004000

Definition at line 79 of file termios.h.

#define IXOFF   0002000

Definition at line 78 of file termios.h.

#define IXON   0001000

Definition at line 77 of file termios.h.

#define N_6PACK   7

Definition at line 311 of file termios.h.

#define N_AX25   5

Definition at line 309 of file termios.h.

#define N_HCI   15 /* Bluetooth HCI UART */

Definition at line 319 of file termios.h.

#define N_HDLC   13 /* synchronous HDLC */

Definition at line 317 of file termios.h.

#define N_IRDA   11 /* Linux IR */

Definition at line 315 of file termios.h.

#define N_MASC   8 /* Mobitex module */

Definition at line 312 of file termios.h.

#define N_MOUSE   2

Definition at line 306 of file termios.h.

#define N_PPP   3

Definition at line 307 of file termios.h.

#define N_PROFIBUS_FDL   10 /* Profibus */

Definition at line 314 of file termios.h.

#define N_R3964   9 /* Simatic R3964 module */

Definition at line 313 of file termios.h.

#define N_SLIP   1

Definition at line 305 of file termios.h.

#define N_SMSBLOCK   12 /* SMS block mode */

Definition at line 316 of file termios.h.

#define N_STRIP   4

Definition at line 308 of file termios.h.

#define N_SYNC_PPP   14 /* synchronous PPP */

Definition at line 318 of file termios.h.

#define N_TTY   0

Definition at line 304 of file termios.h.

#define N_X25   6 /* X.25 async */

Definition at line 310 of file termios.h.

#define NCC   10

Definition at line 265 of file termios.h.

#define NCCS   32

Definition at line 33 of file termios.h.

#define NOFLSH   0x80000000

Definition at line 196 of file termios.h.

#define OCRNL   0000010

Definition at line 89 of file termios.h.

#define OFDEL   00000200

Definition at line 94 of file termios.h.

#define OFILL   00000100

Definition at line 93 of file termios.h.

#define OLCUC   0000004

Definition at line 87 of file termios.h.

#define ONLCR   0000002

Definition at line 86 of file termios.h.

#define ONLRET   0000040

Definition at line 91 of file termios.h.

#define ONOCR   0000020

Definition at line 90 of file termios.h.

#define OPOST   0000001

Definition at line 85 of file termios.h.

#define PARENB   00010000

Definition at line 176 of file termios.h.

#define PARMRK   0000010

Definition at line 71 of file termios.h.

#define PARODD   00020000

Definition at line 177 of file termios.h.

#define TCIFLUSH   0

Definition at line 214 of file termios.h.

#define TCIOFF   2

Definition at line 210 of file termios.h.

#define TCIOFLUSH   2

Definition at line 216 of file termios.h.

#define TCION   3

Definition at line 211 of file termios.h.

#define TCOFLUSH   1

Definition at line 215 of file termios.h.

#define TCOOFF   0

Definition at line 208 of file termios.h.

#define TCOON   1

Definition at line 209 of file termios.h.

#define TCSADRAIN   1

Definition at line 220 of file termios.h.

#define TCSAFLUSH   2

Definition at line 221 of file termios.h.

#define TCSANOW   0

Definition at line 219 of file termios.h.

#define TIOCM_CAR   0x040

Definition at line 294 of file termios.h.

#define TIOCM_CD   TIOCM_CAR

Definition at line 297 of file termios.h.

#define TIOCM_CTS   0x020

Definition at line 293 of file termios.h.

#define TIOCM_DSR   0x100

Definition at line 296 of file termios.h.

#define TIOCM_DTR   0x002

Definition at line 289 of file termios.h.

#define TIOCM_LE   0x001

Definition at line 288 of file termios.h.

#define TIOCM_RI   TIOCM_RNG

Definition at line 298 of file termios.h.

#define TIOCM_RNG   0x080

Definition at line 295 of file termios.h.

#define TIOCM_RTS   0x004

Definition at line 290 of file termios.h.

#define TIOCM_SR   0x010

Definition at line 292 of file termios.h.

#define TIOCM_ST   0x008

Definition at line 291 of file termios.h.

#define TIOCPKT_DATA   0

Definition at line 250 of file termios.h.

#define TIOCPKT_DOSTOP   32

Definition at line 256 of file termios.h.

#define TIOCPKT_FLUSHREAD   1

Definition at line 251 of file termios.h.

#define TIOCPKT_FLUSHWRITE   2

Definition at line 252 of file termios.h.

#define TIOCPKT_NOSTOP   16

Definition at line 255 of file termios.h.

#define TIOCPKT_START   8

Definition at line 254 of file termios.h.

#define TIOCPKT_STOP   4

Definition at line 253 of file termios.h.

#define TIOCSER_TEMT   0x01 /* Transmitter physically empty */

Definition at line 301 of file termios.h.

#define TOSTOP   0x00400000

Definition at line 197 of file termios.h.

#define VDISCARD   16

Definition at line 65 of file termios.h.

#define VEOF   4

Definition at line 52 of file termios.h.

#define VEOL   6

Definition at line 54 of file termios.h.

#define VEOL2   8

Definition at line 56 of file termios.h.

#define VERASE   2

Definition at line 50 of file termios.h.

#define VINTR   0

Definition at line 48 of file termios.h.

#define VKILL   3

Definition at line 51 of file termios.h.

#define VLNEXT   15

Definition at line 64 of file termios.h.

#define VMIN   5

Definition at line 53 of file termios.h.

#define VQUIT   1

Definition at line 49 of file termios.h.

#define VREPRINT   11

Definition at line 60 of file termios.h.

#define VSTART   13

Definition at line 62 of file termios.h.

#define VSTOP   14

Definition at line 63 of file termios.h.

#define VSUSP   12

Definition at line 61 of file termios.h.

#define VSWTC   9

Definition at line 57 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   7

Definition at line 55 of file termios.h.

#define VWERASE   10

Definition at line 59 of file termios.h.


Typedef Documentation

typedef unsigned char cc_t

Definition at line 23 of file termios.h.

typedef unsigned int speed_t

Definition at line 24 of file termios.h.

typedef unsigned int tcflag_t

Definition at line 25 of file termios.h.