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 IGNBRK   0x0001 /* Ignore break condition. */
#define BRKINT   0x0002 /* Signal interrupt on break. */
#define IGNPAR   0x0004 /* Ignore characters with parity errors. */
#define PARMRK   0x0008 /* Mark parity and framing errors. */
#define INPCK   0x0010 /* Enable input parity check. */
#define ISTRIP   0x0020 /* Strip 8th bit off characters. */
#define INLCR   0x0040 /* Map NL to CR on input. */
#define IGNCR   0x0080 /* Ignore CR. */
#define ICRNL   0x0100 /* Map CR to NL on input. */
#define IXON   0x0400 /* Enable start/stop output control. */
#define IXOFF   0x1000 /* Enable start/stop input control. */
#define OPOST   0x0001 /* Perform output processing. */
#define CSIZE   (CS5|CS6|CS7|CS8) /* Number of bits per byte (mask). */
#define CS5   0 /* 5 bits per byte. */
#define CS6   0x00000010 /* 6 bits per byte. */
#define CS7   0x00000020 /* 7 bits per byte. */
#define CS8   0x00000030 /* 8 bits per byte. */
#define CSTOPB   0x00000040 /* Two stop bits instead of one. */
#define CREAD   0x00000080 /* Enable receiver. */
#define PARENB   0x00000100 /* Parity enable. */
#define PARODD   0x00000200 /* Odd parity instead of even. */
#define HUPCL   0x00000400 /* Hang up on last close. */
#define CLOCAL   0x00000800 /* Ignore modem status lines. */
#define B0   0
#define B50   1
#define B75   2
#define B110   3
#define B134   4
#define B150   5
#define B200   6
#define B300   7
#define B600   8
#define B1200   9
#define B1800   10
#define B2400   11
#define B4800   12
#define B9600   13
#define B19200   14
#define B38400   15
#define ECHOE   0x00000010 /* Visual erase for ERASE. */
#define ECHOK   0x00000020 /* Echo NL after KILL. */
#define ECHO   0x00000008 /* Enable echo. */
#define ECHONL   0x00000040 /* Echo NL even if ECHO is off. */
#define ISIG   0x00000001 /* Enable signals. */
#define ICANON   0x00000002 /* Do erase and kill processing. */
#define IEXTEN   0x00008000 /* Enable DISCARD and LNEXT. */
#define TOSTOP   0x00000100 /* Send SIGTTOU for background output. */
#define NOFLSH   0x00000080 /* Disable flush after interrupt. */
#define VEOF   4 /* End-of-file character [ICANON]. */
#define VEOL   5 /* End-of-line character [ICANON]. */
#define VERASE   2 /* Erase character [ICANON]. */
#define VKILL   3 /* Kill-line character [ICANON]. */
#define VINTR   0 /* Interrupt character [ISIG]. */
#define VQUIT   1 /* Quit character [ISIG]. */
#define VSUSP   10 /* Suspend character [ISIG]. */
#define VSTART   8 /* Start (X-ON) character [IXON, IXOFF]. */
#define VSTOP   9 /* Stop (X-OFF) character [IXON, IXOFF]. */
#define VMIN   VEOF /* Minimum number of bytes read at once [!ICANON]. */
#define VTIME   VEOL /* Time-out value (tenths of a second) [!ICANON]. */
#define NCCS   17
#define _IOT_termios
#define TCSANOW   0 /* Change immediately. */
#define TCSADRAIN   1 /* Change when pending output is written. */
#define TCSAFLUSH   2 /* Flush pending input before changing. */
#define TCIFLUSH   0 /* Discard data received but not yet read. */
#define TCOFLUSH   1 /* Discard data written but not yet sent. */
#define TCIOFLUSH   2 /* Discard all pending data. */
#define TCOOFF   0 /* Suspend output. */
#define TCOON   1 /* Restart suspended output. */
#define TCIOFF   2 /* Send a STOP character. */
#define TCION   3 /* Send a START character. */

Typedefs

typedef unsigned long int tcflag_t
typedef unsigned char cc_t
typedef unsigned int speed_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 _IOT_termios
Value:
/* Hurd ioctl type field.  */ \
  _IOT (_IOTS (cflag_t), 4, _IOTS (cc_t), NCCS, _IOTS (speed_t), 2)

Definition at line 195 of file termios.h.

#define B0   0

Definition at line 117 of file termios.h.

#define B110   3

Definition at line 120 of file termios.h.

#define B1200   9

Definition at line 126 of file termios.h.

#define B134   4

Definition at line 121 of file termios.h.

#define B150   5

Definition at line 122 of file termios.h.

#define B1800   10

Definition at line 127 of file termios.h.

#define B19200   14

Definition at line 131 of file termios.h.

#define B200   6

Definition at line 123 of file termios.h.

#define B2400   11

Definition at line 128 of file termios.h.

#define B300   7

Definition at line 124 of file termios.h.

#define B38400   15

Definition at line 132 of file termios.h.

#define B4800   12

Definition at line 129 of file termios.h.

#define B50   1

Definition at line 118 of file termios.h.

#define B600   8

Definition at line 125 of file termios.h.

#define B75   2

Definition at line 119 of file termios.h.

#define B9600   13

Definition at line 130 of file termios.h.

#define BRKINT   0x0002 /* Signal interrupt on break. */

Definition at line 39 of file termios.h.

#define CLOCAL   0x00000800 /* Ignore modem status lines. */

Definition at line 107 of file termios.h.

#define CREAD   0x00000080 /* Enable receiver. */

Definition at line 103 of file termios.h.

#define CS5   0 /* 5 bits per byte. */

Definition at line 98 of file termios.h.

#define CS6   0x00000010 /* 6 bits per byte. */

Definition at line 99 of file termios.h.

#define CS7   0x00000020 /* 7 bits per byte. */

Definition at line 100 of file termios.h.

#define CS8   0x00000030 /* 8 bits per byte. */

Definition at line 101 of file termios.h.

#define CSIZE   (CS5|CS6|CS7|CS8) /* Number of bits per byte (mask). */

Definition at line 97 of file termios.h.

#define CSTOPB   0x00000040 /* Two stop bits instead of one. */

Definition at line 102 of file termios.h.

#define ECHO   0x00000008 /* Enable echo. */

Definition at line 145 of file termios.h.

#define ECHOE   0x00000010 /* Visual erase for ERASE. */

Definition at line 143 of file termios.h.

#define ECHOK   0x00000020 /* Echo NL after KILL. */

Definition at line 144 of file termios.h.

#define ECHONL   0x00000040 /* Echo NL even if ECHO is off. */

Definition at line 146 of file termios.h.

#define HUPCL   0x00000400 /* Hang up on last close. */

Definition at line 106 of file termios.h.

#define ICANON   0x00000002 /* Do erase and kill processing. */

Definition at line 152 of file termios.h.

#define ICRNL   0x0100 /* Map CR to NL on input. */

Definition at line 46 of file termios.h.

#define IEXTEN   0x00008000 /* Enable DISCARD and LNEXT. */

Definition at line 153 of file termios.h.

#define IGNBRK   0x0001 /* Ignore break condition. */

Definition at line 38 of file termios.h.

#define IGNCR   0x0080 /* Ignore CR. */

Definition at line 45 of file termios.h.

#define IGNPAR   0x0004 /* Ignore characters with parity errors. */

Definition at line 40 of file termios.h.

#define INLCR   0x0040 /* Map NL to CR on input. */

Definition at line 44 of file termios.h.

#define INPCK   0x0010 /* Enable input parity check. */

Definition at line 42 of file termios.h.

#define ISIG   0x00000001 /* Enable signals. */

Definition at line 151 of file termios.h.

#define ISTRIP   0x0020 /* Strip 8th bit off characters. */

Definition at line 43 of file termios.h.

#define IXOFF   0x1000 /* Enable start/stop input control. */

Definition at line 51 of file termios.h.

#define IXON   0x0400 /* Enable start/stop output control. */

Definition at line 50 of file termios.h.

#define NCCS   17

Definition at line 191 of file termios.h.

#define NOFLSH   0x00000080 /* Disable flush after interrupt. */

Definition at line 158 of file termios.h.

#define OPOST   0x0001 /* Perform output processing. */

Definition at line 59 of file termios.h.

#define PARENB   0x00000100 /* Parity enable. */

Definition at line 104 of file termios.h.

#define PARMRK   0x0008 /* Mark parity and framing errors. */

Definition at line 41 of file termios.h.

#define PARODD   0x00000200 /* Odd parity instead of even. */

Definition at line 105 of file termios.h.

#define TCIFLUSH   0 /* Discard data received but not yet read. */

Definition at line 204 of file termios.h.

#define TCIOFF   2 /* Send a STOP character. */

Definition at line 211 of file termios.h.

#define TCIOFLUSH   2 /* Discard all pending data. */

Definition at line 206 of file termios.h.

#define TCION   3 /* Send a START character. */

Definition at line 212 of file termios.h.

#define TCOFLUSH   1 /* Discard data written but not yet sent. */

Definition at line 205 of file termios.h.

#define TCOOFF   0 /* Suspend output. */

Definition at line 209 of file termios.h.

#define TCOON   1 /* Restart suspended output. */

Definition at line 210 of file termios.h.

#define TCSADRAIN   1 /* Change when pending output is written. */

Definition at line 200 of file termios.h.

#define TCSAFLUSH   2 /* Flush pending input before changing. */

Definition at line 201 of file termios.h.

#define TCSANOW   0 /* Change immediately. */

Definition at line 199 of file termios.h.

#define TOSTOP   0x00000100 /* Send SIGTTOU for background output. */

Definition at line 154 of file termios.h.

#define VEOF   4 /* End-of-file character [ICANON]. */

Definition at line 163 of file termios.h.

#define VEOL   5 /* End-of-line character [ICANON]. */

Definition at line 164 of file termios.h.

#define VERASE   2 /* Erase character [ICANON]. */

Definition at line 169 of file termios.h.

#define VINTR   0 /* Interrupt character [ISIG]. */

Definition at line 177 of file termios.h.

#define VKILL   3 /* Kill-line character [ICANON]. */

Definition at line 173 of file termios.h.

#define VMIN   VEOF /* Minimum number of bytes read at once [!ICANON]. */

Definition at line 189 of file termios.h.

#define VQUIT   1 /* Quit character [ISIG]. */

Definition at line 178 of file termios.h.

#define VSTART   8 /* Start (X-ON) character [IXON, IXOFF]. */

Definition at line 183 of file termios.h.

#define VSTOP   9 /* Stop (X-OFF) character [IXON, IXOFF]. */

Definition at line 184 of file termios.h.

#define VSUSP   10 /* Suspend character [ISIG]. */

Definition at line 179 of file termios.h.

#define VTIME   VEOL /* Time-out value (tenths of a second) [!ICANON]. */

Definition at line 190 of file termios.h.


Typedef Documentation

typedef unsigned char cc_t

Definition at line 28 of file termios.h.

typedef unsigned int speed_t

Definition at line 31 of file termios.h.

typedef unsigned long int tcflag_t

Definition at line 25 of file termios.h.