tickit_new_stdio - Man Page

create a new toplevel Tickit instance

Synopsis

#include <tickit.h>

Tickit *tickit_new_stdio(void);

Link with -ltickit.

Description

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.

Return Value

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

See Also

tickit(7)

Referenced By

tickit(7), tickit_get_rootwin(3), tickit_get_term(3), tickit_ref(3), tickit_run(3), tickit_watch_cancel(3), tickit_watch_later(3), tickit_watch_timer_after_msec(3), tickit_watch_timer_at_epoch(3).