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

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

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