rest_callback(3alleg4)

rest_callback3alleg4

Like rest(), but calls the callback during the wait. allegro game programming library.

Usage

#include <allegro.h>

void rest_callback(long time, void (*callback)())

Overview

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().

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.