MentOS  0.8.0
The Mentoring Operating System
Classes | Macros | Typedefs
termios-struct.h File Reference

Definition of the termios structure. More...

Go to the source code of this file.

Classes

struct  termios
 Stores information about a terminal IOs. More...
 

Macros

#define NCCS   32
 The number of control characters.
 
#define ISIG   0x00000080
 Controls whether the INTR, QUIT, and SUSP characters are recognized.
 
#define ICANON   0x00000100
 Enables canonical input processing mode.
 
#define ECHO   0x00000008
 Echo input characters.
 
#define ECHOE   0x00000002
 If ICANON is set, the ERASE character erases the preceding character.
 
#define ECHOK   0x00000004
 If ICANON is set, the KILL character erases the current line.
 
#define ECHONL   0x00000010
 If ICANON is set, echo the NL character even if ECHO is not set.
 
#define NOFLSH   0x80000000
 Do not clear in/out queues when receiving INTR, QUIT, and SUSP.
 
#define TOSTOP   0x00400000
 Allows SIGTTOU signals generated by background processes.
 
#define ECHOCTL   0x00000040
 If this and ECHO are set, control characters with ‘^’ are echoed.
 
#define ECHOKE   0x00000001
 If ICANON is set, KILL is echoed by erasing each character on the line.
 
#define IEXTEN   0x00000400
 Enables implementation-defined input processing.
 
#define CTRL(x)   ((x) & 037)
 Mask for extracting control values.
 

Typedefs

typedef unsigned char cc_t
 Type for control characters.
 
typedef unsigned int speed_t
 Type for speed.
 
typedef unsigned int tcflag_t
 Type for flags.
 
typedef struct termios termios_t
 Stores information about a terminal IOs.
 

Detailed Description

Definition of the termios structure.