TCSETA, TCSETAF, TCSETAW

Set terminal properties from a termio structure

Synopsis:

#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)

Arguments to ioctl():

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

Description:

These commands change the current terminal control settings of a device:

Note: These commands are for internal use, and you shouldn't use them directly. Instead use the tcsetattr() cover function.

The TCSETS, TCSETSF, and TCSETSW ioctl() commands are similar, but they use a struct termios instead of a struct termio.

Input:

A termio structure.

Output:

None.

See also:

TCGETA, TCSETS, TCSETSF, TCSETSW, TIOCSETA, TIOCSETAF, TIOCSETAW

ioctl(), in the QNX Neutrino C Library Reference