DOKK / manpages / debian 10 / libtickit-dev / tickit_new_stdio.3.en
TICKIT_NEW_STDIO(3) Library Functions Manual TICKIT_NEW_STDIO(3)

tickit_new_stdio - create a new toplevel Tickit instance

#include <tickit.h>

Tickit *tickit_new_stdio(void);

Link with -ltickit.

tickit_new_stdio() creates a new toplevel Tickit instance whose terminal is attached to the standard input and output streams.

The reference count of a newly-constructed toplevel instance will be one. This can be incremented or decremented using tickit_ref(3) and tickit_unref(3). When its reference count reaches zero it is destroyed.

If successful, tickit_new_stdio() returns a pointer to the new instance.

tickit(7)