- set the user definable signal SIGUSR1 to a userdefined function
SYNOPSIS
int set_user_signal
(user_handler)
ARGUMENTS
void
(*user_handler)()
A function pointer to a userdefined signal handler.
RETURNS
TRUE if an error was detected, FALSE if not.
FUNCTION
This routine installs a userdefined handler for the SIGUSR1 signal. If TCDOS
or GCC is defined, this is the SIGINT signal instead of SIGUSR1. A pointer
to the old handler is kept in a local variable.