1TICKIT_TERM_GET_TERMTYPE(3)Library Functions ManualTICKIT_TERM_GET_TERMTYPE(3)
2
3
4
6 tickit_term_get_termtype - returns the terminal type
7
9 #include <tickit.h>
10
11 const char *tickit_term_get_termtype(TickitTerm *tt);
12
13 Link with -ltickit.
14
16 tickit_term_get_termtype() returns the string name of the type of the
17 terminal. This is the string that was given to
18 tickit_term_new_for_termtype(3), or was fetched from the TERM environ‐
19 ment variable. The returned value points directly into the buffer allo‐
20 cated by the TickitTerm instance itself; this buffer must not be modi‐
21 fied or freed.
22
24 tickit_term_get_termtype() returns a string buffer pointer.
25
27 tickit_term_new(3), tickit_term(7), tickit(7)
28
29
30
31 TICKIT_TERM_GET_TERMTYPE(3)