Provided by: libtickit-dev_0.2-5_amd64
tickit_term_new - create a new terminal instance
#include <tickit.h> TickitTerm *tickit_term_new(void); TickitTerm *tickit_term_new_for_termtype(const char *termtype); Link with -ltickit.
tickit_term_new() creates a new TickitTerm instance for the terminal type given by the TERM environment variable. tickit_term_new_for_termtype() creates a new TickitTerm instance for the given terminal type. The reference count of a newly-constructed terminal instance will be one. This can be incremented or decremented using tickit_term_ref(3) and tickit_term_unref(3). When its reference count reaches zero it is destroyed.
If successful, tickit_term_new() and tickit_term_new_for_termtype() return a pointer to the new instance. On failure, NULL is returned with errno set to indicate the failure.