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

tickit_run, tickit_stop - control the event loop of the toplevel instance

#include <tickit.h>

void tickit_run(Tickit *t);
void tickit_stop(Tickit *t);

Link with -ltickit.

tickit_run() starts the IO event loop of the main toplevel instance, allowing it to receive and react to terminal input, and to send output content back to it. Once invoked, this function will block processing IO and not return until the tickit_stop() function is called, or until a SIGINT is received (usually by the user pressing Ctrl-C).

tickit_stop() causes a currently-running call to tickit_run() to return.

Neither tickit_run() nor tickit_stop() return a value.

tickit_new_stdio(3), tickit(7)