MentOS  0.8.0
The Mentoring Operating System
Functions
termios.h File Reference

Defines the termios functions. More...

Go to the source code of this file.

Functions

int tcgetattr (int fd, termios_t *termios_p)
 Put the state of FD into *TERMIOS_P. More...
 
int tcsetattr (int fd, int optional_actions, const termios_t *termios_p)
 Set the state of FD to *TERMIOS_P. More...
 

Detailed Description

Defines the termios functions.

Function Documentation

◆ tcgetattr()

int tcgetattr ( int  fd,
termios_t termios_p 
)

Put the state of FD into *TERMIOS_P.

Parameters
fd
termios_p
Returns

◆ tcsetattr()

int tcsetattr ( int  fd,
int  optional_actions,
const termios_t termios_p 
)

Set the state of FD to *TERMIOS_P.

Parameters
fd
optional_actions
termios_p
Returns