.\" Generated by the Allegro makedoc utility .TH install_int 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME install_int \- Installs a user timer handler. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B int install_int(void (*proc)(), int speed); .SH DESCRIPTION Installs a user timer handler, with the speed given as the number of milliseconds between ticks. This is the same thing as install_int_ex(proc, MSEC_TO_TIMER(speed)). If you call this routine without having first installed the timer module, install_timer() will be called automatically. Calling again this routine with the same timer handler as parameter allows you to adjust its speed. .SH "RETURN VALUE" Returns zero on success, or a negative number if there is no room to add a new user timer. .SH SEE ALSO .BR install_timer (3alleg4), .BR remove_int (3alleg4), .BR install_int_ex (3alleg4), .BR install_param_int (3alleg4), .BR exscn3d (3alleg4), .BR exswitch (3alleg4), .BR extimer (3alleg4), .BR exzbuf (3alleg4)