#ifndef Sighandler_t
# if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
-typedef Signal_t (*Sighandler_t) (int, ...);
+typedef Signal_t (*Sighandler_t) (int, siginfo_t*, void*);
# else
typedef Signal_t (*Sighandler_t) (int);
# endif
(PL_signals & PERL_SIGNALS_UNSAFE_FLAG))
/* Call the perl level handler now--
* with risk we may be in malloc() etc. */
- (*PL_sighandlerp)(sig);
+ (*PL_sighandlerp)(sig, NULL, NULL);
else
S_raise_signal(aTHX_ sig);
#if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
PERL_BLOCKSIG_ADD(set, sig);
PL_psig_pend[sig] = 0;
PERL_BLOCKSIG_BLOCK(set);
- (*PL_sighandlerp)(sig);
+ (*PL_sighandlerp)(sig, NULL, NULL);
PERL_BLOCKSIG_UNBLOCK(set);
}
}