#include <signal.h> int sigaction( int sig, const struct sigaction *act, struct sigaction *oact );
This function is used to change the action taken by a process on
receipt of the specfic signal sig
. The new action is
specified by act
and the previous action is returned
via oact
.
The signal number cannot be SIGKILL.
Copyright © 1988-2003 OAR Corporation