al_init_timeout

void al_init_timeout(ALLEGRO_TIMEOUT *timeout, double seconds)
Introduced in 5.0.0

Set timeout value of some number of seconds after the function call.

See also: ALLEGRO_TIMEOUT, al_wait_for_event_until

Examples: ex_timedwait


Most helpful discussions:

Other recent discussions: