sigcontext on Linux-ppc in user space, another hack.
Roman Zippel
zippel at fh-brandenburg.de
Fri Jan 26 10:04:29 EST 2001
Hi,
On Thu, 25 Jan 2001 jekacur at ca.ibm.com wrote:
>
> 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 */
> }
Please ignore the last patch!
Anyway, in the code example the last argument is not a sigcontext
structure but an ucontext_t structure, which is defined in <ucontext.h>.
bye, Roman
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list