tickit_term_setctl_int - Man Page

set an integer or string terminal control

Synopsis

#include <tickit.h>

bool tickit_term_getctl_int(TickitTerm *tt, TickitTermCtl ctl, int *value);
bool tickit_term_setctl_int(TickitTerm *tt, TickitTermCtl ctl, int value);
bool tickit_term_setctl_str(TickitTerm *tt, TickitTermCtl ctl, const char *value);

Link with -ltickit.

Description

tickit_term_setctl_int() performs a terminal control operation, setting the value of a numeric terminal control option. tickit_term_setctl_str() sets the value of a string terminal control option. tickit_term_getctl_int() obtains the value of a terminal control setting.

For the list of possible TickitTermCtl values and their meanings, see tickit_term(7).

Return Value

tickit_term_getctl_int() returns a true value if it recognised the requested control and managed to return the current value of it; false if not. tickit_term_setctl_int() and tickit_term_setctl_str() return a true value if it recognised the requested control and managed to request the terminal to change it; false if not.

See Also

tickit_term_new(3), tickit_term(7), tickit(7)

Referenced By

tickit_term(7), tickit_term_ctlname(3), tickit_term_pause(3).

The man pages tickit_term_getctl_int(3) and tickit_term_setctl_str(3) are aliases of tickit_term_setctl_int(3).