| Updated: October 28, 2024 | 
Set terminal properties from a termios structure
#include <sys/ioctl.h>
#define TCSETS          _IOW('T', 14, struct termios)
#define TCSETSW         _IOW('T', 15, struct termios)
#define TCSETSF         _IOW('T', 16, struct termios)
| Argument | Value | 
|---|---|
| fd | A file descriptor that you obtained by opening the device | 
| request | TCSETS, TCSETSF, or TCSETSW | 
| Additional argument | A pointer to a struct termios | 
These commands change the current terminal control settings of a device:
They're similar to the following ioctl() commands:
The TCSETA, TCSETAF, and TCSETAW ioctl() commands are similar, but they use a struct termio instead of a struct termios.
A termios structure.
None.