TIOCGLTC

Get the local special characters

Synopsis:

#include <sys/ioctl.h>

#define TIOCGLTC        _IOR('t', 116, struct ltchars)

Arguments to ioctl():

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

Description:

This command gets the local special characters.

Input:

None.

Output:

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

See also:

TIOCSLTC

ioctl() in the QNX Neutrino C Library Reference