Call SIGACTION() instead of signal().