signal.h 802 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef _ASM_PARISC_SIGNAL_H
  2. #define _ASM_PARISC_SIGNAL_H
  3. #include <uapi/asm/signal.h>
  4. #define _NSIG 64
  5. /* bits-per-word, where word apparently means 'long' not 'int' */
  6. #define _NSIG_BPW BITS_PER_LONG
  7. #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
  8. # ifndef __ASSEMBLY__
  9. /* Most things should be clean enough to redefine this at will, if care
  10. is taken to make libc match. */
  11. typedef unsigned long old_sigset_t; /* at least 32 bits */
  12. typedef struct {
  13. /* next_signal() assumes this is a long - no choice */
  14. unsigned long sig[_NSIG_WORDS];
  15. } sigset_t;
  16. #ifndef __KERNEL__
  17. struct sigaction {
  18. __sighandler_t sa_handler;
  19. unsigned long sa_flags;
  20. sigset_t sa_mask; /* mask last for extensibility */
  21. };
  22. #endif
  23. #include <asm/sigcontext.h>
  24. #endif /* !__ASSEMBLY */
  25. #endif /* _ASM_PARISC_SIGNAL_H */