Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: hppa problems



> That's almost certainly not supposed to happen.  Can you track it down
> any further?  It looks like it's happening when the handler() function
> is called.  What's the prototype for `sa_handler' in struct sigaction
> supposed to be?

struct sigaction
  {
    /* Signal handler.  */
#ifdef __USE_POSIX199309
    union
      {
        /* Used if SA_SIGINFO is not set.  */
        __sighandler_t sa_handler;
        /* Used if SA_SIGINFO is set.  */
        void (*sa_sigaction) (int, siginfo_t *, void *);
      }
    __sigaction_handler;
# define sa_handler     __sigaction_handler.sa_handler
# define sa_sigaction   __sigaction_handler.sa_sigaction
#else
    __sighandler_t sa_handler;
#endif

    /* Special flags.  */
    unsigned long int sa_flags;

    /* Additional set of signals to be blocked.  */
    __sigset_t sa_mask;
  };

#define SA_SIGINFO    0x00000010  /* Invoke signal-catching function with
                                     three arguments instead of one.  */

and

typedef void (*__sighandler_t) (int);



Messages sorted by: Reverse Date, Date, Thread, Author