Get the terminal properties in a termios structure
#include <sys/ioctl.h>
#define TIOCGETA        _IOR('t', 19, struct termios)
| Argument | Value | 
|---|---|
| fd | A file descriptor that you obtained by opening the device | 
| request | TIOCGETA | 
| Additional argument | A pointer to a struct termios | 
This command gets the current terminal control settings of a device. It's also implemented as the DCMD_CHR_TCGETATTR devctl() command.
None.
A filled-in termios structure.
DCMD_CHR_TCGETATTR, TCGETA, TCGETS, TIOCSETA, TIOCSETAF, TIOCSETAW