Open System Services System Calls Reference Manual (G06.25+, H06.03+)

Files termios(4)
NAME
termios - Describes the terminal interface for POSIX compatibility
SYNOPSIS
#include <termios.h>
DESCRIPTION
The /usr/include/termios.h
header le contains information used by system calls that apply to
terminal les. The denitions, values, and structure in this le are required for compatibility with
the Institute of Electrical and Electronics Engineers (IEEE) P1003.1 Portable Operating System
Interface for Computer Environments (POSIX) standard.
The general terminal interface information is contained in the termios.h header le. The termios
structure in the termios.h header le denes the basic input, output, control, and line discipline
modes. The termios structure contains the following elds:
c_iflag Describes the basic terminal input control. The possible input modes are as fol-
lows:
BRKINT Interrupts a signal on the break condition. If set, the break condi-
tion generates an interrupt signal and ushes both the input and
output queues. This ag is initially set by default.
ICRNL Maps a CR character to an NL character on input. If set, a
received CR character is translated into an NL character. This
ag is initially not set by default.
IGNBRK Ignores the break condition. If set, the break condition is not put
on the input queue and is therefore not read by any process.
This ag is initially not set by default.
IGNCR Ignores the CR character. If set, a received CR character is
ignored (not read). This ag is initially not set by default.
IGNPAR Ignores bytes with parity errors. Not supported in the current
release. This ag is initially not set by default.
INLCR Maps newline character (NL) to carriage return (CR) on input. If
set, a received NL character is translated into a CR character.
This ag is initially not set by default.
INPCK Enables input character byte parity checking. Not supported in
the current release. This ag is initially not set by default.
ISTRIP Strips characters. If set, valid input characters are rst stripped
to 7 bits; if not set, all 8 bits are processed. This ag is initially
set by default.
IXANY Enables any character to restart output. If set, any character
received restarts output. If not set, stopped output is restarted by
other conventions. This ag is initially not set by default.
IXOFF Enables start and stop input control. If set, the system transmits a
STOP character when the input queue is nearly full and a
START character when enough input has been read that the
queue is nearly empty again. This ag is initially set by default.
527186-003 Hewlett-Packard Company 1151