kernel_sigaction.h 520 B

1234567891011121314151617181920
  1. #ifndef _BITS_SIGACTION_STRUCT_H
  2. #define _BITS_SIGACTION_STRUCT_H
  3. /* This is the sigaction struction from the Linux 2.1.20 kernel. */
  4. struct old_kernel_sigaction {
  5. __sighandler_t k_sa_handler;
  6. unsigned long sa_mask;
  7. unsigned int sa_flags;
  8. };
  9. /* In uclibc, userspace struct sigaction is identical to
  10. * "new" struct kernel_sigaction (one from the Linux 2.1.68 kernel).
  11. * See sigaction.h
  12. */
  13. extern int __syscall_rt_sigaction (int, const struct sigaction *,
  14. struct sigaction *, size_t) attribute_hidden;
  15. #endif