signal.h 588 B

123456789101112131415161718192021222324252627
  1. #ifndef _ASMAXP_SIGNAL_H
  2. #define _ASMAXP_SIGNAL_H
  3. #include <uapi/asm/signal.h>
  4. /* Digital Unix defines 64 signals. Most things should be clean enough
  5. to redefine this at will, if care is taken to make libc match. */
  6. #define _NSIG 64
  7. #define _NSIG_BPW 64
  8. #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
  9. typedef unsigned long old_sigset_t; /* at least 32 bits */
  10. typedef struct {
  11. unsigned long sig[_NSIG_WORDS];
  12. } sigset_t;
  13. struct osf_sigaction {
  14. __sighandler_t sa_handler;
  15. old_sigset_t sa_mask;
  16. int sa_flags;
  17. };
  18. #define __ARCH_HAS_KA_RESTORER
  19. #include <asm/sigcontext.h>
  20. #endif