miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
Loading...
Searching...
No Matches
termios.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  termios

Macros

#define VINTR   0
#define VEOF   1
#define NCCS   8
#define ISIG   0x0001u
#define ICANON   0x0002u
#define ECHO   0x0008u
#define TCSANOW   0
#define TCSADRAIN   1
#define TCSAFLUSH   2

Typedefs

typedef unsigned int tcflag_t
typedef unsigned char cc_t

Functions

int tcgetattr (int fd, struct termios *t)
int tcsetattr (int fd, int actions, const struct termios *t)
void cfmakeraw (struct termios *t)
int isatty (int fd)

Macro Definition Documentation

◆ ECHO

#define ECHO   0x0008u

◆ ICANON

#define ICANON   0x0002u

◆ ISIG

#define ISIG   0x0001u

◆ NCCS

#define NCCS   8

◆ TCSADRAIN

#define TCSADRAIN   1

◆ TCSAFLUSH

#define TCSAFLUSH   2

◆ TCSANOW

#define TCSANOW   0

◆ VEOF

#define VEOF   1

◆ VINTR

#define VINTR   0

Typedef Documentation

◆ cc_t

typedef unsigned char cc_t

◆ tcflag_t

typedef unsigned int tcflag_t

Function Documentation

◆ cfmakeraw()

void cfmakeraw ( struct termios * t)
Here is the caller graph for this function:

◆ isatty()

int isatty ( int fd)
Here is the call graph for this function:

◆ tcgetattr()

int tcgetattr ( int fd,
struct termios * t )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tcsetattr()

int tcsetattr ( int fd,
int actions,
const struct termios * t )
Here is the call graph for this function:
Here is the caller graph for this function: