Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

termios(4) OSS System Calls Reference Manual
NAME
termios - Describes the terminal interface for POSIX compatibility
SYNOPSIS
#include <termios.h>
DESCRIPTION
The /usr/include/termios.h header file contains information used by system calls that apply to
terminal files. The definitions, values, and structure in this file 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 file. The termios
structure in the termios.h header file defines the basic input, output, control, and line discipline
modes. The termios structure contains the following fields:
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 flushes both the input and
output queues. This flag 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
flag 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 flag is initially not set by default.
IGNCR Ignores the CR character. If set, a received CR character is
ignored (not read). This flag is initially not set by default.
IGNPAR Ignores bytes with parity errors. Not supported in the current
release. This flag 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 flag is initially not set by default.
INPCK Enables input character byte parity checking. Not supported in
the current release. This flag is initially not set by default.
ISTRIP Strips characters. If set, valid input characters are first stripped
to 7 bits; if not set, all 8 bits are processed. This flag 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 flag 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 flag is initially set by default.
1164 Hewlett-Packard Company 527186-023