home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-generic / compat_signal.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  620 b   |  26 lines

  1. #ifndef _ASM_GENERIC_COMPAT_SIGNAL_H
  2. #define _ASM_GENERIC_COMPAT_SIGNAL_H
  3.  
  4. #ifndef __ASSEMBLY__
  5. #include <linux/compat.h>
  6.  
  7. typedef compat_uptr_t compat_sighandler_t;
  8.  
  9. typedef struct compat_sigaltstack {
  10.     compat_uptr_t ss_sp;
  11.     compat_int_t ss_flags;
  12.     compat_size_t ss_size;
  13. } compat_stack_t;
  14.  
  15. /* Most things should be clean enough to redefine this at will, if care
  16.    is taken to make libc match.  */
  17.  
  18. struct compat_sigaction {
  19.     compat_sighandler_t sa_handler;
  20.     compat_uint_t sa_flags;
  21.     compat_sigset_t sa_mask;        /* mask last for extensibility */
  22. };
  23.  
  24. #endif /* !__ASSEMBLY__ */
  25. #endif /* !_ASM_GENERIC_COMPAT_SIGNAL_H */
  26.