Linux: sc_iaoq -> HP-UX: ? struct sigcontext
Hi all:
I am trying to port an application to HP-UX 11.11 coming from Linux.
The source from Linux (just snipped the one line):
return &(((struct sigcontext *) &(context->uc_mcontext))->sc_gr[offset]);
On HP-UX 11.11 I find:
/usr/include/machine/sys/sigcontext.h
#ifndef _SIGCONTEXT_INCLUDE
#define _SIGCONTEXT_INCLUDE
struct sigcontext {
union {
struct siglocal sl;
struct siglocalx sx;
} sc_ctxt; /* context information */
#ifdef __LP64__
long sc_pad[7];
long sc_sigreturn_gp;
#endif
long sc_args[NUMARGREGS]; /* arguments to handler */
#if defined(_KERNEL) && defined(__LP64__)
struct frame_marker64 sc_sfm;
#else
struct frame_marker sc_sfm;
#endif
};
#endif /* _SIGCONTEXT_INCLUDE */
Hmmmm - obvious question:
What is the equivalent of sc_iaoq on HP-UX? (I also need "sc_gr" ...)
Thanks much in advance!!!
Best,
Frank
--
Frank Goenninger
frgo(at)mac(dot)com
"Don't ask me! I haven't been reading comp.lang.lisp long enough to
really know ..." |