install_param_int (3) - Linux Manuals

install_param_int: Installs a timer routine with a customizable parameter. Allegro game programming library.

NAME

install_param_int - Installs a timer routine with a customizable parameter. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

int install_param_int(void (*proc)(void *), void *param, int speed);

DESCRIPTION

Like install_int(), but the callback routine will be passed a copy of the specified void pointer parameter. To disable the handler, use remove_param_int() instead of remove_int().