Simulate terminal input
#include <sys/ioctl.h> #define TIOCSTI _IOW('t', 114, char)
Argument | Value |
---|---|
fd | A file descriptor that you obtained by opening the device |
request | TIOCSTI |
Additional argument | A pointer to a char |
This command simulates terminal input by calling tcinject() to inject a single character into the stream.
The character you want to inject.
None.
ioctl(), tcinject() in the QNX Neutrino C Library Reference