1al_wait_for_event_timed(3)                          al_wait_for_event_timed(3)
2
3
4

NAME

6       al_wait_for_event_timed - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              bool al_wait_for_event_timed(ALLEGRO_EVENT_QUEUE *queue,
12                 ALLEGRO_EVENT *ret_event, float secs)
13

DESCRIPTION

15       Wait until the event queue specified is non-empty.  If ret_event is not
16       NULL, the first event in the queue will be copied  into  ret_event  and
17       removed  from  the queue.  If ret_event is NULL the first event is left
18       at the head of the queue.
19
20       secs determines approximately how many seconds to wait.   If  the  call
21       times  out, false is returned.  Otherwise, if an event ocurred, true is
22       returned.
23
24       For compatibility with all platforms, secs must be  2,147,483.647  sec‐
25       onds or less.
26

SEE ALSO

28       ALLEGRO_EVENT(3), al_wait_for_event(3), al_wait_for_event_until(3)
29
30
31
32Allegro reference manual                            al_wait_for_event_timed(3)
Impressum