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

NAME

6       tickit_new_stdio - create a new toplevel Tickit instance
7

SYNOPSIS

9       #include <tickit.h>
10
11       Tickit *tickit_new_stdio(void);
12       Tickit *tickit_new_stdtty(void);
13
14       Link with -ltickit.
15

DESCRIPTION

17       tickit_new_stdio()  creates a new toplevel Tickit instance whose termi‐
18       nal is attached to the standard input and output streams.
19
20       tickit_new_stdtty() creates a new toplevel Tickit instance whose termi‐
21       nal  is  attached to the first terminal found among the standard input,
22       output and error streams. This gives better results if  the  containing
23       program  is likely to be invoked with shell redirection on either input
24       or output (e.g. similar to less).
25
26       The reference count of a newly-constructed toplevel  instance  will  be
27       one.  This  can  be  incremented or decremented using tickit_ref(3) and
28       tickit_unref(3). When its reference count reaches zero it is destroyed.
29

RETURN VALUE

31       If successful,  tickit_new_stdio()  and  tickit_new_stdtty()  return  a
32       pointer to the new instance.
33

SEE ALSO

35       tickit(7)
36
37
38
39                                                           TICKIT_NEW_STDIO(3)
Impressum