The Complete SPRLIB & ANNLIB

set_user_signal

- 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.

SEE ALSO

clear_user_signal

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998