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