1rest_callback(3)                Allegro manual                rest_callback(3)
2
3
4

NAME

6       rest_callback  -  Like  rest(), but calls the callback during the wait.
7       Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void rest_callback(long time, void (*callback)())
14

DESCRIPTION

16       Like rest(), but for non-zero values continually  calls  the  specified
17       function  while  it  is waiting for the required time to elapse. If the
18       provided `callback' parameter is NULL, this function does  exactly  the
19       same thing as calling rest().
20
21
22
23

SEE ALSO

25       install_timer(3), rest(3)
26
27
28
29Allegro                          version 4.2.2                rest_callback(3)
Impressum