|
NAMEtickit_run, tickit_stop, tickit_tick - control the event loop of the toplevel instanceSYNOPSIS#include <tickit.h> void tickit_run(Tickit *t); void tickit_stop(Tickit *t); void tickit_tick(Tickit *t, TickitRunFlags flags); Link with -ltickit. DESCRIPTIONtickit_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. tickit_tick() runs one iteration of the IO loop and
returns. Its behaviour is controlled by the flags argument, which
should be a bitmask of the following flags:
RETURN VALUENeither tickit_run(), tickit_stop() nor tickit_tick() return a value.SEE ALSOtickit_new_stdio(3), tickit(7) Visit the GSP FreeBSD Man Page Interface. |