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

NAME

6       tickit_term_open_stdio   -  create  a  terminal  instance  on  standard
7       input/output
8

SYNOPSIS

10       #include <tickit.h>
11
12       TickitTerm *tickit_term_open_stdio(void);
13
14       Link with -ltickit.
15

DESCRIPTION

17       tickit_term_open_stdio() creates a new TickitTerm instance to represent
18       the  standard input and output streams of the process. This function is
19       a convenient  shortcut  around  the  common  use-case  of  creating  an
20       instance using tickit_term_new(3), setting the input and output handles
21       using tickit_term_set_input_fd(3) and tickit_term_set_output_fd(3), and
22       enabling SIGWINCH support using tickit_term_observe_sigwinch(3).
23

RETURN VALUE

25       If  successful,  tickit_term_open_stdio()  returns a pointer to the new
26       instance. On failure, NULL is returned with errno set to  indicate  the
27       failure.
28

SEE ALSO

30       tickit_term_new(3),   tickit_term_print(3),  tickit_term_bind_event(3),
31       tickit_term(7), tickit(7)
32
33
34
35                                                     TICKIT_TERM_OPEN_STDIO(3)
Impressum