TIOCSLTC

Set the local special characters

Synopsis:

#include <sys/ioctl.h>

#define TIOCSLTC        _IOW('t', 117, struct ltchars)

Arguments to ioctl():

Argument Value
fd A file descriptor that you obtained by opening the device
request TIOCSLTC
Additional argument A pointer to a struct ltchars

Description:

This command sets the local special characters.

Input:

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 */
};

Output:

None.

See also:

TIOCGLTC

ioctl() in the QNX Neutrino C Library Reference