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 set in the TickitTermBuilder struct
18 to tickit_term_build(3), or was fetched from the TERM environment vari‐
19 able. The returned value points directly into the buffer allocated by
20 the TickitTerm instance itself; this buffer must not be modified or
21 freed.
22
24 tickit_term_get_termtype() returns a string buffer pointer.
25
27 tickit_term_build(3), tickit_term(7), tickit(7)
28
29
30
31 TICKIT_TERM_GET_TERMTYPE(3)