Please check the manual page sigaction(2).