TICKIT_TERMCTL_NAME(3) | Library Functions Manual | TICKIT_TERMCTL_NAME(3) |
tickit_termctl_name - return the name of a terminal control
#include <tickit.h> const char * tickit_termctl_name(TickitTermCtl ctl); TickitTermCtl tickit_termctl_lookup(const char * name); TickitType tickit_termctl_type(TickitTermCtl ctl);
Link with -ltickit.
tickit_termctl_name() returns the name of the given terminal control. These names are the lowercase strings given in tickit_term(7).
tickit_termctl_lookup() returns the control constant for a given name. If the name is not recognised then -1 is returned.
tickit_termctl_type() returns the type of the given
terminal control, as one of the following constants:
For unrecognised control types, the function returns 0.
tickit_termctl_name() returns a constant string pointer. tickit_termctl_lookup() returns an control constant or -1. tickit_termctl_type() returns a control type constant or 0.