logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

install_timer - Installs the Allegro timer interrupt handler.

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.

Name

       install_timer - Installs the Allegro timer interrupt handler.

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(3alleg4), install_int(3alleg4)

Allegro                                           version 4.4.3                           install_timer(3alleg4)

Synopsis

#include<allegro.h>intinstall_timer();

See Also