1TICKIT_TERM_NEW(3)         Library Functions Manual         TICKIT_TERM_NEW(3)
2
3
4

NAME

6       tickit_term_new - create a new terminal instance
7

SYNOPSIS

9       #include <tickit.h>
10
11       TickitTerm *tickit_term_new(void);
12       TickitTerm *tickit_term_new_for_termtype(const char *termtype);
13
14       Link with -ltickit.
15

DESCRIPTION

17       tickit_term_new()  creates  a  new TickitTerm instance for the terminal
18       type given by the TERM environment variable.
19
20       tickit_term_new_for_termtype() creates a new  TickitTerm  instance  for
21       the given terminal type.
22
23       The  reference  count  of a newly-constructed terminal instance will be
24       one. This can be incremented or  decremented  using  tickit_term_ref(3)
25       and  tickit_term_unref(3).  When its reference count reaches zero it is
26       destroyed.
27

RETURN VALUE

29       If  successful,  tickit_term_new()  and  tickit_term_new_for_termtype()
30       return a pointer to the new instance. On failure, NULL is returned with
31       errno set to indicate the failure.
32

SEE ALSO

34       tickit_term_open_stdio(3),                tickit_term_set_output_fd(3),
35       tickit_term_set_output_func(3),            tickit_term_set_input_fd(3),
36       tickit_term_print(3),    tickit_term_bind_event(3),     tickit_term(7),
37       tickit(7)
38
39
40
41                                                            TICKIT_TERM_NEW(3)
Impressum