Get the terminal properties in a termio structure
#include <sys/ioctl.h> #define TCGETA _IOR('T', 1, struct termio)
Argument | Value |
---|---|
fd | A file descriptor that you obtained by opening the device |
request | TCGETA |
Additional argument | A pointer to a struct termio |
This command gets the current terminal control settings of a device.
The TCGETS ioctl() command is similar, but it uses a struct termios instead of a struct termio.
None.
A filled-in termio structure.
TIOCGETA, TCGETS, TCSETA, TCSETAF, TCSETAW
ioctl(), in the QNX Neutrino C Library Reference