1TICKIT_TERM_OPEN_STDIO(3) Library Functions Manual TICKIT_TERM_OPEN_STDIO(3)
2
3
4
6 tickit_term_open_stdio - create a terminal instance on standard in‐
7 put/output
8
10 #include <tickit.h>
11
12 TickitTerm *tickit_term_open_stdio(void);
13
14 Link with -ltickit.
15
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 in‐
20 stance using tickit_term_build(3) with the open field set to
21 TICKIT_OPEN_STDIO, and enabling SIGWINCH support using tickit_term_ob‐
22 serve_sigwinch(3).
23
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
30 tickit_term_build(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)