| Updated: October 28, 2024 |
Set terminal properties from a termio structure
#include <sys/ioctl.h>
#define TCSETA _IOW('T', 2, struct termio)
#define TCSETAW _IOW('T', 3, struct termio)
#define TCSETAF _IOW('T', 4, struct termio)
| Argument | Value |
|---|---|
| fd | A file descriptor that you obtained by opening the device |
| request | TCSETA, TCSETAF, or TCSETAW |
| Additional argument | A pointer to a struct termio |
These commands change the current terminal control settings of a device:
The TCSETS, TCSETSF, and TCSETSW ioctl() commands are similar, but they use a struct termios instead of a struct termio.
A termio structure.
None.
TCGETA, TCSETS, TCSETSF, TCSETSW, TIOCSETA, TIOCSETAF, TIOCSETAW
ioctl(), in the QNX Neutrino C Library Reference