1TICKIT_TERM_INPUT_WAIT_MSEC(L3i)brary Functions ManuTaIlCKIT_TERM_INPUT_WAIT_MSEC(3)
2
3
4

NAME

6       tickit_term_input_wait_* - read more data from the terminal
7

SYNOPSIS

9       #include <tickit.h>
10
11       void tickit_term_input_wait_msec(TickitTerm *tt, long msec);
12       void tickit_term_input_wait_tv(TickitTerm *tt, const struct timeval *timeout);
13
14       Link with -ltickit.
15

DESCRIPTION

17       The  tickit_term_input_wait_*()  family  of functions wait for at least
18       one input event to be received, up until the maximum time given.  Call‐
19       ing  these  functions may block if the underlying file descriptor is in
20       blocking mode. They may  result  in  TICKIT_EV_KEY  or  TICKIT_EV_MOUSE
21       events being invoked.
22
23       These functions also invoke deferred TICKIT_EV_RESIZE events if enabled
24       by tickit_term_observe_sigwinch(3).
25
26       The functions differ in how the timeout is  specified.  tickit_term_in‐
27       put_wait_msec()  takes  a  time as an integer in milliseconds, or -1 to
28       wait indefinitely. tickit_term_input_wait_tv() takes a time as a struct
29       timeval, or NULL to wait indefinitely.
30

RETURN VALUE

32       tickit_term_input_wait_msec() and tickit_term_input_wait_tv() return no
33       value.
34

SEE ALSO

36       tickit_term_build(3),                    tickit_term_input_readable(3),
37       tickit_term_bind_event(3), tickit_term(7), tickit(7)
38
39
40
41                                                TICKIT_TERM_INPUT_WAIT_MSEC(3)
Impressum