The function sets the handler for the signal number.
signal number of Signal or int-like type
signal handler of c_sigfn_t or d_sigfn_t type
See Implementation
The function sets the handler for the signal number.