It appears you can just use the siginfo_t * as the struct sigcontext *
!!
ie
void *signal_handler(int signo, siginfo_t *siginfoptr, struct sigcontext
*scp)
{
scp = (struct sigcontext_struct *)siginfoptr;
/* the rest of your code, here */
}
John Kacur/Toronto/IBM@IBMCA
[EMAIL PROTE
Ok, actually the segfault was for a more complicated function, but the
simplified example still gives the wrong answer. i.e scp should point to a
struct sigcontext and scp->signal should be 10 in the sample program.
John Kacur/Toronto/IBM@IBMCA
[EMAIL PROTECTED]
(416) 448-2584 (phone)
778-2584 (
John Kacur/Toronto/IBM@IBMCA
[EMAIL PROTECTED]
(416) 448-2584 (phone)
778-2584 (tie line)
-- Forwarded by John Kacur/Toronto/IBM on 01/25/2001
10:06 AM ---
John Kacur
01/24/2001 04:47 PM
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
From: John Ka
3 matches
Mail list logo