1install_timer(3) Allegro manual install_timer(3)
2
3
4
6 install_timer - Installs the Allegro timer interrupt handler.
7
9 #include <allegro.h>
10
11
12 int install_timer();
13
15 Installs the Allegro timer interrupt handler. You must do this before
16 installing any user timer routines, and also before displaying a mouse
17 pointer, playing FLI animations or MIDI music, and using any of the GUI
18 routines.
19
21 Returns zero on success, or a negative number on failure (but you may
22 decide not to check the return value as this function is very unlikely
23 to fail).
24
25
27 remove_timer(3), install_int(3)
28
29
30
31Allegro version 4.4.3 install_timer(3)