rest_callback(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

🌈 rest_callback(3) β€” Allegro manual 🌈

okay bestie, welcome to the Allegro manual page for rest_callback(3) β€” it's giving "nap time but make it interactive" and honestly? iconic. πŸ’–


✨ NAME ✨

  • rest_callback β€” 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 it 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(). no cap, literally the same behavior. 🫢


πŸ‘‘ SEE ALSO πŸ‘‘


xoxo, this was the Allegro manual, version 4.4.3 β€” go forth and callback responsibly, bestie πŸ’–βœ¨

πŸ“¦ where this page comes from