TIOCSTI
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Simulate terminal input
Synopsis:
#include <sys/ioctl.h>
#define TIOCSTI _IOW('t', 114, char)
Arguments to ioctl():
| Argument | Value |
|---|---|
| fd | A file descriptor that you obtained by opening the device |
| request | TIOCSTI |
| Additional argument | A pointer to a char |
Description:
This command simulates terminal input by calling tcinject() to inject a single character into the stream.
Input:
The character you want to inject.
Output:
None.
See also:
ioctl(), tcinject() in the QNX OS C Library Reference
Page updated:
