ltchars
edchars.werase = cb.ltchars.t_werasc;
cb.ltchars.t_suspc = -1;
cb.ltchars.t_dsuspc = -1;
cb.ltchars.t_lnextc = -1;
cb.ltchars.t_rprntc = -1;
if (ioctl(fd, TIOCGLTC, &ts->ltchars) < 0)
if (ioctl(fd, TIOCSLTC, &ts->ltchars) < 0)
struct ltchars ltchars;
struct ltchars l;
struct ltchars *ltc = (struct ltchars *)data;
struct ltchars *ltc = (struct ltchars *)data;
#define TIOCSLTC _IOW('t',117,struct ltchars)/* set local special chars*/
#define TIOCGLTC _IOR('t',116,struct ltchars)/* get local special chars*/