Get the local special characters
#include <sys/ioctl.h> #define TIOCGLTC _IOR('t', 116, struct ltchars)
Argument | Value |
---|---|
fd | A file descriptor that you obtained by opening the device |
request | TIOCGLTC |
Additional argument | A pointer to a struct ltchars |
This command gets the local special characters.
None.
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 */ };