TIOCGETA
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Get the terminal properties in a termios structure
Synopsis:
#include <sys/ioctl.h>
#define TIOCGETA        _IOR('t', 19, struct termios)
Arguments to ioctl():
| Argument | Value | 
|---|---|
| fd | A file descriptor that you obtained by opening the device | 
| request | TIOCGETA | 
| Additional argument | A pointer to a struct termios | 
Description:
This command gets the current terminal control settings of a device. It's also implemented as the DCMD_CHR_TCGETATTR devctl() command.
Note: 
This command is for internal use, and you shouldn't use it directly.
Instead use the
tcgetattr()
cover function.
Input:
None.
Output:
A filled-in termios structure.
See also:
DCMD_CHR_TCGETATTR, TCGETA, TCGETS, TIOCSETA, TIOCSETAF, TIOCSETAW
Page updated: 
