TIOCSETC
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Set a terminal's special characters
Synopsis:
#include <sys/ioctl.h>
#define TIOCSETC _IOW('t', 17, struct tchars)
Arguments to ioctl():
Argument | Value |
---|---|
fd | A file descriptor that you obtained by opening the device |
request | TIOCSETC |
Additional argument | A pointer to a struct tchars |
Description:
This command sets a terminal's special characters.
Input:
A filled-in struct tchars (defined in <sgtty.h>):
struct tchars {
char t_intrc; /* interrupt */
char t_quitc; /* quit */
char t_startc; /* start output */
char t_stopc; /* stop output */
char t_eofc; /* end-of-file */
char t_brkc; /* input delimiter (like nl) */
};
Output:
None.
See also:
ioctl() in the QNX OS C Library Reference
Page updated: