signal.h 605 B

1234567891011121314151617181920212223242526
  1. /*
  2. * S390 version
  3. *
  4. * Derived from "include/asm-i386/signal.h"
  5. */
  6. #ifndef _ASMS390_SIGNAL_H
  7. #define _ASMS390_SIGNAL_H
  8. #include <uapi/asm/signal.h>
  9. /* Most things should be clean enough to redefine this at will, if care
  10. is taken to make libc match. */
  11. #include <asm/sigcontext.h>
  12. #define _NSIG _SIGCONTEXT_NSIG
  13. #define _NSIG_BPW _SIGCONTEXT_NSIG_BPW
  14. #define _NSIG_WORDS _SIGCONTEXT_NSIG_WORDS
  15. typedef unsigned long old_sigset_t; /* at least 32 bits */
  16. typedef struct {
  17. unsigned long sig[_NSIG_WORDS];
  18. } sigset_t;
  19. #define __ARCH_HAS_SA_RESTORER
  20. #endif