Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

install_timer(3alleg4) [opendarwin man page]

install_timer(3alleg4)						  Allegro manual					    install_timer(3alleg4)

install_timer - 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(3alleg4), install_int(3alleg4) Allegro version 4.4.2 install_timer(3alleg4)

Check Out this Related Man Page

install_int(3alleg4)						  Allegro manual					      install_int(3alleg4)

install_int - Installs a user timer handler. Allegro game programming library. SYNOPSIS
#include <allegro.h> int install_int(void (*proc)(), int speed); 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. RETURN VALUE
Returns zero on success, or a negative number if there is no room to add a new user timer. SEE ALSO
install_timer(3alleg4), remove_int(3alleg4), install_int_ex(3alleg4), install_param_int(3alleg4), exscn3d(3alleg4), exswitch(3alleg4), extimer(3alleg4), exzbuf(3alleg4) Allegro version 4.4.2 install_int(3alleg4)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: ␀␀Word Finder® Plus™. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word Finder® Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies

Featured Tech Videos