TICKIT_TERM_CTLNAME(3) | Library Functions Manual | TICKIT_TERM_CTLNAME(3) |
tickit_term_ctlname - return the name of a terminal control
#include <tickit.h> const char * tickit_term_ctlname(TickitTermCtl ctl); TickitTermCtl tickit_term_lookup_ctl(const char * name);
Link with -ltickit.
tickit_term_ctlname() returns the name of the given terminal control. These names are the lowercase strings given in tickit_term(7).
tickit_term_lookup_ctl() returns the control constant for a given name. If the name is not recognised then -1 is returned.
tickit_term_ctlname() returns a constant string pointer. tickit_term_lookup_ctl() returns an control constant or -1.