Set the local special characters
#include <sys/ioctl.h> #define TIOCSLTC _IOW('t', 117, struct ltchars)
Argument | Value |
---|---|
fd | A file descriptor that you obtained by opening the device |
request | TIOCSLTC |
Additional argument | A pointer to a struct ltchars |
This command sets the local special characters.
A filled-in struct ltchars (defined in <sgtty.h>):
struct ltchars { char t_suspc; /* stop process signal */ char t_dsuspc; /* delayed stop process signal */ char t_rprntc; /* reprint line */ char t_flushc; /* flush output (toggles) */ char t_werasc; /* word erase */ char t_lnextc; /* literal next character */ };
None.