Node:Mode Data Types, Next:Mode Functions, Up:Terminal Modes
The entire collection of attributes of a terminal is stored in a
structure of type struct termios
. This structure is used
with the functions tcgetattr
and tcsetattr
to read
and set the attributes.
struct termios | Data Type |
Structure that records all the I/O attributes of a terminal. The
structure includes at least the following members:
The |
The following sections describe the details of the members of the
struct termios
structure.
tcflag_t | Data Type |
This is an unsigned integer type used to represent the various bit masks for terminal flags. |
cc_t | Data Type |
This is an unsigned integer type used to represent characters associated with various terminal control functions. |
int NCCS | Macro |
The value of this macro is the number of elements in the c_cc
array.
|