.\" Generated by the Allegro makedoc utility .TH rest_callback 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME rest_callback \- Like rest(), but calls the callback during the wait. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B void rest_callback(long time, void (*callback)()) .SH 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(). .SH SEE ALSO .BR install_timer (3alleg4), .BR rest (3alleg4)