rest_callback - Man Page
Like rest(), but calls the callback during the wait. Allegro game programming library.
Synopsis
#include <allegro.h>
void rest_callback(long time, void (*callback)())
Description
Like rest(), but for non-zero values continually calls the specified function while it is waiting for the required time to elapse. If the provided `callback' parameter is NULL, this function does exactly the same thing as calling rest().
See Also
Referenced By
version 4.4.3 Allegro manual