TIOCMSET
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Set all modem bits
Synopsis:
#include <sys/ioctl.h>
#define TIOCMSET _IOW('t', 109, int)
Arguments to ioctl():
| Argument | Value |
|---|---|
| fd | A file descriptor that you obtained by opening the device |
| request | TIOCMSET |
| Additional argument | A pointer to an int |
Description:
This command sets all modem status bits for the terminal device.
Input:
The modem bits, a combination of the following:
- TIOCM_DTR — data terminal ready.
- TIOCM_RTS — request to send.
Output:
None.
See also:
ioctl() in the QNX OS C Library Reference
Page updated:
