install_timer - Man Page

Installs the Allegro timer interrupt handler.

Synopsis

#include <allegro.h>

int install_timer();

Description

Installs the Allegro timer interrupt handler. You must do this before  installing any user timer routines, and also before displaying a mouse  pointer, playing FLI animations or MIDI music, and using any of the GUI  routines.

Return Value

Returns zero on success, or a negative number on failure (but you may decide not to check the return value as this function is very unlikely to fail).

See Also

remove_timer(3), install_int(3)

Referenced By

ex3buf(3), ex3d(3), exaccel(3), exalpha(3), exblend(3), excamera(3), excustom(3), exdbuf(3), exflip(3), exgui(3), exkeys(3), exlights(3), exmidi(3), exmouse(3), exrgbhsv(3), exsample(3), exscn3d(3), exspline(3), exsprite(3), exstars(3), exstream(3), exswitch(3), exsyscur(3), extimer(3), extrans(3), extrans2(3), exunicod(3), exupdate(3), exzbuf(3), fli_timer(3), install_int(3), install_int_ex(3), install_param_int(3), install_param_int_ex(3), play_fli(3), play_memory_fli(3), remove_timer(3), rest(3), rest_callback(3), show_mouse(3).

version 4.4.3 Allegro manual