The SYNOPSIS of sigaction(2) cites the sa_sigaction function as

        void (*__sa_sigaction)(int, siginfo_t *, void *);

yet in the examples, the declaration is

        void
        handler(int sig, siginfo_t *sip, struct sigcontext *scp);

with the role of sigcontext described.

This is a discrepancy which the compiler complains about.
Perhaps the handler is supposed to take a void*,
as in the synopsis, and recast it.

No diff included as I don't really know.

        Jan

Reply via email to