1al_wait_for_event_timed(3) Library Functions Manual al_wait_for_event_timed(3)
2
3
4

NAME

6       al_wait_for_event_timed
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       timeout_msecs determines approximately how many seconds  to  wait.   If
21       the call times out, false is returned.  Otherwise true is returned.
22

SEE ALSO

24       ALLEGRO_EVENT(3), al_wait_for_event(3), al_wait_for_event_until(3)
25
26
27
28Allegro reference manual                            al_wait_for_event_timed(3)
Impressum